Register by 10/16 for $250 off the on-site price.

Error 12300

Error - 12300

Invalid Content-Type

Twilio is unable to process the Content-Type of the provided URL. Please see the Twilio Markup XML Documentation for more information on valid Content-Types.

You must return a Content-Type for all requests. Requests without a Content-Type will appear in the Debugger as a 502 Bad Gateway error.

Possible Causes

  • Having a phone number, outgoing call request or action attribute refer to a non-XML or audio resource.
  • Having a Play verb attempt to play non-audio content, such as XML or text.

Possible Solutions

  • Verify that that your web server is returning a Content-Type and it is the expected value
  • Make sure the URL noted refers to a valid resource

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.