Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

20403: 403 Forbidden


ERROR: 20403

error-20403 page anchor
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.

Possible causes

possible-causes page anchor
  • 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 Token caused 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 Standard or Main API 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.

Additional resources

additional-resources page anchor