57020: Authorization failed
MESSAGING
ERROR
This error appears when Twilio cannot validate the request's Authorization header on a Messaging request. Twilio API requests use HTTP Basic authentication, and Twilio recommends API keys and API key secrets for production applications.
- The request does not include an
Authorizationheader. - The
Authorizationheader does not contain valid Twilio API credentials.
- Add a valid
Authorizationheader to the request and authenticate with HTTP Basic authentication. - Use an API key and API key secret for production requests.
- For local testing, use your Account SID and Auth Token.