400: Bad Request
ERROR
Twilio returns this error when a REST API request cannot be completed because the request is invalid. When a request is unsuccessful, the response includes an exception with the HTTP status, a message, and, when available, a Twilio-specific code and more_info value.
- A required parameter is missing from the request.
- One or more request parameters did not pass validation.
- The resource you are trying to modify has moved into a state that is no longer valid for that operation.
- Inspect the response
message,code, andmore_infofields to identify the exact problem in the request. - Add any missing required parameters before you retry the request.
- Validate each request value against the endpoint requirements and correct any malformed or unsupported input.
- Verify that the resource exists and is still in a state that allows the requested update.
- Retry the request only after you confirm the request is valid.