Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Content-Type header #44

Open
bjterry99 opened this issue Dec 14, 2022 · 0 comments
Open

Configure Content-Type header #44

bjterry99 opened this issue Dec 14, 2022 · 0 comments

Comments

@bjterry99
Copy link

Currently, there is no option to configure the Content-Type header when creating a message document.

When creating a message document with the following params, an Error - 11200 is thrown in the Twilio Error logs. This causes the media to not be sent correctly.

to: 'phoneNumber'
body: 'message body'
mediaUrl: [firebase storage media download URL]

In my experience I have tried to send a vCard stored in Firebase Storage. The vCard send correctly to iOS devices but Android devices to not receive the file correctly. Both cases throw the Error - 11200

Having the option to change the Content-Type header might fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant