Switchmast

Twilio error 11200: HTTP retrieval failure

Updated

Short answer

11200 (HTTP retrieval failure) means Twilio called your webhook and didn't get a good answer: a 4xx or 5xx status, a timeout, a blocked or failed connection, a bad redirect or an unreadable response. Make the URL return 2xx quickly to a POST, allow Twilio through your firewall, and set a fallback URL.

Common causes

Twilio uses 11200 when the cause doesn't fit a narrower code. If you see one of these instead, it tells you more:

CodeNamePoints to
11205HTTP connection failureNo TCP connection within Twilio's 10 seconds
11210HTTP bad host nameThe hostname in the URL doesn't resolve
11215HTTP too many redirectsA redirect loop or chain
11220SSL/TLS Handshake ErrorCipher suites or TLS versions that don't match
12100Document parse failureYour server answered, but the TwiML isn't valid

Find the failing request

  1. In the Console, go to Monitor › Debugger (legacy Console: Monitor › Logs › Errors › Error logs; Twilio says the Debugger is US1 only, and IE1 and AU1 use the legacy error logs) and pick the 11200 alert. It shows the URL Twilio called, the method, and the HTTP response it got.
  2. Note the time and the resource SID in the alert (the message or call that triggered it).
  3. Find the same request in your own server or load balancer logs. If it isn't there, it never reached you: look at DNS, the firewall and the WAF. If it is, look at the status code and how long it took.

How to fix it

  1. Send a test POST to the URL yourself and confirm a 2xx answer.
  2. Look at your edge or load balancer logs: do Twilio's requests arrive? Check WAF and rate-limit rules.
  3. If the URL redirects, point Twilio straight at the final address.
  4. Drop HTTP authentication; validate Twilio's request signature instead.
  5. Accept POST on the webhook path, including for static TwiML.
  6. Use a public hostname, not a private or loopback address.
  7. For slow work, return 200 OK or 204 No Content immediately and process the event in the background. Twilio waits 15 seconds at most for a response, connection time included.
  8. Remove webhook connection overrides you don't need, and set the right Content-Type.
  9. Set a fallback URL on separate infrastructure so Twilio has somewhere to go if the main URL fails.

If requests reach your server and 11200 is still intermittent, open a Twilio support ticket with timestamps and request SIDs.

Common mistakes

See it on your phone

Switchmast on iPhone explaining Twilio error 11200 with three webhook alerts showing an HTTP 502 response
Error 11200 in Switchmast, with the alerts behind it, on sample data.

Switchmast shows Debugger alerts like 11200 on your phone with what happened and what to do. Open an alert to see the URL and the response Twilio got, and change a number's webhook from the app (Pro), so a broken deploy at night doesn't wait until morning.

Questions

What does Twilio error 11200 mean?

HTTP retrieval failure: Twilio requested your webhook (a TwiML URL or status callback) and didn't get a usable answer. Your server returned a 4xx or 5xx, the connection failed or timed out, or the response couldn't be parsed.

Why does 11200 happen only sometimes?

Intermittent 11200s usually come from slow responses, a WAF or rate limiter that blocks some of Twilio's requests, or brief network problems. Check your server logs for requests that arrived and how long they took.

How fast must my webhook respond?

Twilio's reference for error 11205 says it tries for 10 seconds to open a TCP connection (two 5-second attempts) and waits 15 seconds in total for the HTTP response, connection time included. If your work takes more than a few seconds, answer at once with 200 OK or 204 No Content and do the work afterwards.

Can I protect my webhook with a password?

Twilio recommends validating its request signature instead of HTTP authentication, which it may not be able to satisfy and which causes 11200.

Is 11200 a message delivery error?

No. It's about your server, not the carrier. An inbound text still reaches Twilio; what fails is Twilio's request to your URL, so your app never hears about it or never answers.

Sources

All read 27 November 2026.