Klantly Developers

Error codes

rate_limited

429 Too many requests.

Cause

Too many requests were made within the window of a limit. The limit field names which one. A per-day or per-hour limit also comes back this way, such as the number of uploads per day or the number of messages to customers per hour.

Solution

Wait the number of seconds from the Retry-After header and slow down. See the page about rate limits.

Example

application/problem+json
{
  "type": "https://developers.klantly.com/errors/rate_limited",
  "title": "Too many requests.",
  "status": 429,
  "code": "rate_limited",
  "request_id": "req_01j7zq3k9x2m4n6p8r0t2v4w6y"
}

← All error codes