RATE_LIMIT_REACHED

To protect the quality of the API service Kayako may enable the rate limiting for some API end-points.

Reason

  • You reached the rate limit for this action and resource

Solution

  • You need to wait for some time for the rate limit to be refreshed (the exact time should be available in the Retry-After HTTP header of the response)
  • Be sure not to overburden the API end-point with this action
  • Ask Kayako support team to increase the rate limit, if you believe, that it's too narrow

Example

HTTP/1.1 429 Too Many Requests
Content-Type: application/json
Retry-After: 600
X-API-Version: 1

{
    "status": 429,
    "errors": [
        {
            "code": "RATE_LIMIT_REACHED",
            "message": "The rate limit for this action was reached",
            "more_info": "https://developer.kayako.com/api/v1/reference/errors/RATE_LIMIT_REACHED"
        }
    ]
}