hideInGuideShowcase: true Below are some examples of common errors that you might encounter when using webhooks. If you are unable to resolve your issue, you can always reach out to our Support Team and provide them with a [resource SID](/guides/what-is-a-sid) so that they can locate the call/message record and offer assistance. HTML Retrieval Error (Error code 11200) HTML Retrieval Errors happen when there is a failure to retrieve the contents of the URL in your webhook. This indicates that SignalWire tried to reach your URL but did not receive a response before the connection timed out. Our current timeouts are 4.5 seconds for Connect and 5 seconds for Read, and we retry twice once the connection times out. SignalWire automatically retries HTTP retrieval requests. If its an action type of webhook, SignalWire wont attempt a retry but will go to the fallback URL (on inbound calls, can specify an action URL and a fallback URL). If its a status callback webhook, SignalWire will retry three times, and back off slightly between each attempt. So the second one will retry very quickly, and for the third retry, the system will wait a few seconds. If you only experienced this error temporarily only to see the same webhook work successfully later, your web server was likely temporarily unavailable or experiencing a network outage. If this issue is persisting, we recommend taking a look at your systems to verify there are no processes or queries taking too long to return. Document Parse Error (Error Code 12100) The SignalWire Compatibility APIs and SignalWire Compatibility XML both require all documents to be properly formatted as XML in order for SignalWire to be able to read and parse them. If you receive a document parse error, something in your code is preventing SignalWire from parsing the XML document. If you are using the Compatibility API in any of our available SDKs, make sure that your code is returning proper XML. You can convert response to XML or for an easier method, convert response to string. For example, this is the Python SDK returning response as a string: python @app.route(/open, methods=[GET, POST]) def inBusinessHours(): response = VoiceResponse() dial = Dial(record=true) dial.number(+12342556182) response.append(dial) return str(response) This results in proper XML: xml
XML Response Body Exceeds Size Limit (Error Code 11750) - This error indicates that the response body to SignalWires request is larger than 64 kB. This can be caused if the XML that you are serving is larger than 64 kB or if you are serving non-XML content in your response (e.g. error message output). - Confirm that you are serving XML in your response to SignalWires request. - Confirm that you are including the following header in your XML response: . - Limit your XML response to 64 kB or less. - If your XML includes the [Play verb](/compatibility-api/cxml/voice/play), check the encoding and MIME type to ensure they are supported. - Check that your XML is formatted properly. - Check to see if your application is throwing errors. - If you are trying to send a 200 response in a status callback, use an empty XML response