Menu

Expand
Rate this page:

Error 12100

Error - 12100

Document parse failure

Twilio was unable to parse the provided XML Document.

Your TwiML document must be a valid XML Document, or Twilio will not be able to read your document. You can debug XML parsing errors by getting the response body in the debugger, and then using an online validation tool like the W3C Validation Service.

Possible Causes

  • There is a leading space, or an empty line, before the XML type header (i.e. <?xml version="1.0" encoding="UTF-8"?>)
  • The root <Response> element is missing
  • There is an unclosed element
  • There is an unquoted attribute
  • There is an improperly nested element

Possible Solutions

  • Make sure there is no extra space or line at the beginning of the file before the type header
  • Make sure your root element is <Response>
  • XML is case sensitive, make sure your start and end elements match case. (Twilio elements begin with a capital letter)
  • Make sure characters such as < > and & are escaped properly, as &lt; &gt; and &amp;.
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