Skip to contentSkip to navigationSkip to topbar
On this page

HTTP invalid redirect



ERROR: 11216

error-11216 page anchor
ERROR

Twilio sent a webhook to your server and your server responded with a 3xx status code that was not a valid redirect.

Possible Causes

possible-causes page anchor
  • Your server responded with an non-redirect HTTP status code in the 3xx series. Twilio will only follow redirects for status codes 301, 302, 303, and 307.
  • Your server did not include a location header in the redirect response
  • Update your webhook configuration specifying the final URL you would like to be called, removing the need for redirects.
  • Ensure you are using a standard redirect HTTP status code (301, 302, 303, or 307)
  • Ensure that you are including a valid url in the location header of your response.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.