20403: 403 Forbidden
API
ERROR
Twilio returns this error when the account lacks permission to access the Twilio API. This commonly occurs when an account is suspended or closed. For assistance, contact Twilio Support via the Console or Help Center.
- The account has been suspended or closed, which prevents API access.
- The credentials used do not include permission for the resource. For example, using a restricted API key without the required permission set.
- A recent rotation of the
Auth Tokencaused dependent Services or Functions (Classic) to temporarily use an outdated token, resulting in 403 responses until propagation completes.
- Review the project's status in Console and, if suspended or closed, reach out to Twilio Support to restore access.
- If you are using Restricted API Keys, add the necessary permission for the endpoint you are calling or switch to a
StandardorMainAPI key where appropriate. - If you recently rotated your
Auth Token, wait at least one minute for propagation and ensure all code, Services, and Functions reference the updated token.