Menu

Expand
Rate this page:

Error 12300

ERROR - 12300

Invalid Content-Type

Twilio is unable to process the Content-Type of the provided URL. Please see Twilio's documentation on accepted content types 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
  • Make sure messages to or from your Twilio phone number are using a supported content-type. See the full list of supported content types.
  • Use one of the supported request types to call a Twilio function.
Rate this page:

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more