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