Accept headers must be compatible with application/json

Follow

Ashley

Updated

What's happening?

Effective August 3, 2023, the messaging API will no longer process requests with an Accept header that is not compatible with application/json. We are making this change in an effort to address security vulnerabilities and provide the most reliable service possible.

What do I need to know?

Today, the messaging API will attempt to process requests with any content-type value in the Accept header. Beginning August 3, Bandwidth will only accept requests with an Accept header content-type compatible with application/json. Compatible types include application/json, application/*, and */*. 

Any requests with an Accept header that do not include a content-type compatible with application/json will receive a 406 error message. 

What do I need to do?

Please ensure that all requests to the messaging API have an Accept header that includes a content type compatible with application/json. 

Questions?

Please open a ticket with your Bandwidth Support Team or hit us up at (855) 864-7776!



Article is closed for comments.