# 70051: Authorization Failed

Log Type: TWILIO

Log Level: ERROR

## Description

Twilio could not authorize the given request.

### Possible causes

* The Account is not found or is suspended
* The API key is not found or is suspended
* The Credentials used for authorization do not belong to the given account
* If using a Restricted API Key - the key may be missing a permission to access the resource
* If using a Restricted API Key - permission to access the resource may not be supported
* If using an OAuth app - the Client ID may be missing a scope/permission to access the resource
* If using an OAuth app - permission to access the resource may not be supported

### Possible solutions

* Make sure the account or the API key are valid and active
* If using a Restricted API Key - add the missing permission to the key
* If using a Restricted API Key - use a Main/Standard type API key
* If using an OAuth app - add the missing scope/permission to the OAuth app.
* If using an OAuth app - use a Main/Standard type API key
