PERMISSIONS_DENIED

Reason

  • The authenticated user is not allowed to perform this action on this resource
  • The OAuth client is not allowed to perform this action on this resource

Solution

  • Make sure, that you are logged in as the appropriate user
  • Make sure, that your user has appropriate permissions
  • Make sure, that the used access token has appropriate API scopes
  • Consider using an access token, that is not restricted by API scopes, if the API endpoint is not associated with any scope
  • Make sure, that the resource URI and the HTTP method are correct

Example

{
    "status": 403,
    "errors": [
        {
            "code": "PERMISSIONS_DENIED",
            "message": "You do not have permissions to perform this action on this resource",
            "more_info": "https://developer.kayako.com/api/v1/reference/errors/PERMISSIONS_DENIED"
        }
    ]
}