Error 40000

Product: TaskRouter

Content-Type of 'application/json' not set

Possible Causes

  • You responded with a 200 HTTP response but did not provide a Content-Type header of 'application/json'

Possible Solutions

  • Add Content-Type header of 'application/json'

Example

{
    "instruction": "accept"
}

with no Content-Type header provided.

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.