80401: Account Sid Invalid
PROXY
WARNING
This warning indicates that a Proxy API request included an Account SID that Twilio could not validate as an Account resource SID. Account SIDs use the AC prefix and contain 32 hexadecimal characters after the prefix. Twilio Proxy requests must also be authenticated with valid credentials, using either an API Key SID and secret or an Account SID and Auth Token.
- The Account SID does not start with
ACor is not 34 characters long. - The Account SID contains characters outside the hexadecimal range expected for Twilio SIDs.
- The request used a different SID type or another credential value in place of the Account SID. Twilio identifies resource types by SID prefix.
- The Account SID was copied incorrectly from the Twilio Console or from the environment variables used to authenticate the Proxy request.
- Copy the Account SID directly from the Twilio Console and confirm that it matches
^AC[0-9a-fA-F]{32}$. - Check your application configuration and environment variables so
TWILIO_ACCOUNT_SIDcontains your Account SID and not another SID type. - If you authenticate with API keys, use the API Key SID as the username and the API Key secret as the password. If you authenticate with an Account SID, pair it with the correct Auth Token.
- Retry the Proxy request after replacing any truncated or malformed Account SID values in the request or authentication settings.