AUTHORIZATION_REQUIRED

For details on how you can authenticate with the API service check Authentication.

This error will trigger the browser's authentication dialog, unless the AJAX mode is used (i.e., the X-Requested-With HTTP header is set to XMHTTPRequest).

Reason

  • Anonymous users are not allowed to access this resource or perform this action

Solution

  • You need to authenticate using a user with appropriate permissions
  • Make sure, that there is no mistake in the resource URI and the HTTP method

Example

{
    "status": 401,
    "errors": [
        {
            "code": "AUTHORIZATION_REQUIRED",
            "message": "Performing this action on this resource requires authorization",
            "more_info": "https://developer.kayako.com/api/v1/reference/errors/AUTHORIZATION_REQUIRED"
        }
    ]
}