403: Forbidden
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.
- 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 Tokenwas rotated recently and part of your application, Service, or Function is still using the previous token. Services and Functions (Classic) can return403 Forbiddenuntil the updated token finishes propagating.
- Authenticate the request with valid HTTP Basic authentication credentials. Use either your
Account SIDandAuth Tokenor 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
StandardorMainAPI 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.