---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/11216#article
headline: "11216: HTTP invalid redirect"
url: https://www.twilio.com/docs/api/errors/11216
inLanguage: en
dateModified: 2026-03-11T18:38:39.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 11216: HTTP invalid redirect

Log Type: APPLICATION

Log Level: ERROR

## Description

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

### Possible causes

* 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

### Possible solutions

* 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.
