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

403: Forbidden


ERROR: 403

error-403 page anchor
ERROR

This error means your request is not authorized. Verify the credentials used for the request and confirm that the account or API key has permission to access the endpoint you are calling.

Possible causes

possible-causes page anchor
  • The request used incorrect credentials, such as an invalid Account SID, Auth Token, API key SID, or API key secret.
  • The request used a Restricted API key that does not include permission for the resource or endpoint.
  • The account is suspended or closed, which prevents API access.
  • The Auth Token was rotated recently and part of your application, Service, or Function is still using the previous token. Services and Functions (Classic) can return 403 Forbidden until the updated token finishes propagating.
  • Authenticate the request with valid HTTP Basic authentication credentials. Use either your Account SID and Auth Token or a valid API key SID and secret.
  • If you are using a Restricted API key, add the permission required for the endpoint you are calling or use a Standard or Main API key when broader access is required.
  • Verify the status of your project in Console. If the account is suspended or closed, restore access through Console or contact Support through the Help Center.
  • After rotating an Auth Token, update every service that stores the old value. If you use Services or Functions (Classic), wait at least one minute before retrying the request.

Additional resources

additional-resources page anchor