---
page_type: error
code: 11216
message: "11216: HTTP invalid redirect"
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.