Error reference

rate_limited

HTTP status
429 Too Many Requests
Returned by
Sign-in and authentication; crmmove; Import and export; Every endpoint (request handling); Members and invites; Every endpoint (rate limits); Search; Kweko Admin (staff only, not the public API); storage

What it means

Too many requests. reason says which limit was hit and limit is its size. The Retry-After header says how many seconds to wait.

Typical causes

  • api_key_rate: this API key sent more than its plan allows per second.
  • workspace_api_rate: all API keys of the workspace together sent more than the workspace allows per second.
  • api_requests_day: the workspace's API keys used the plan's daily quota (then used and plan are set; it resets at 00:00 UTC).
  • app_rate or app_requests_day: an installed app used its own per-second bucket or daily quota.
  • ip_rate: too many requests from one IP address to an endpoint called without a key (sign-in, OAuth, callbacks).
  • invites_per_day, invites_pending, exports_per_hour: a per-workspace safety quota.
  • A new workspace (trust level 0) has half the normal refill rate.

How to fix it

  • Wait Retry-After seconds, then retry. Back off exponentially if it happens again.
  • Spread bulk work over time and watch RateLimit-Remaining. See Rate limits.

Messages

English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.

  • 200 invites are waiting to be accepted. Revoke old ones before sending more.
    RU: 200 приглашений ждут ответа. Отзовите старые, прежде чем отправлять новые.
    UZ: 200 ta taklif qabul qilinishini kutmoqda. Yangilarini yuborishdan oldin eskilarini bekor qiling.
  • A workspace can connect at most 20 times a day.
    RU: Рабочее пространство может подключаться не больше 20 раз в день.
    UZ: Ish maydoni kuniga koʻpi bilan 20 marta ulana oladi.
  • A workspace can send 50 invites a day. Try again tomorrow.
    RU: Пространство может отправить 50 приглашений в день. Попробуйте завтра.
    UZ: Ish joyi kuniga 50 ta taklif yuborishi mumkin. Ertaga qayta urining.
  • A workspace can start 20 exports an hour. Try again later.
    RU: Пространство может запустить 20 выгрузок в час. Попробуйте позже.
    UZ: Ish joyi soatiga 20 ta eksport boshlashi mumkin. Keyinroq urining.
  • A workspace can start at most 20 imports a day.
    RU: Пространство может запускать не более 20 импортов в день.
    UZ: Ish joyi kuniga koʻpi bilan 20 ta import boshlashi mumkin.
  • Too many attempts. Please wait a little and try again.
    RU: Слишком много попыток. Подождите немного и попробуйте снова.
    UZ: Urinishlar juda koʻp. Biroz kutib, qayta urinib koʻring.
  • Too many attempts. Wait a minute.
    RU: Слишком много попыток. Подождите минуту.
    UZ: Urinishlar juda koʻp. Bir daqiqa kuting.
  • Too many requests from your network. Please wait a moment and try again.
    RU: Слишком много запросов из вашей сети. Подождите немного и попробуйте снова.
    UZ: Tarmogʻingizdan soʻrovlar juda koʻp. Biroz kutib, qayta urining.
  • Too many requests. Please slow down.
    RU: Слишком много запросов. Пожалуйста, помедленнее.
    UZ: Soʻrovlar juda koʻp. Iltimos, sekinroq.
  • Too many searches. Please slow down.
    RU: Слишком много поисковых запросов. Пожалуйста, помедленнее.
    UZ: Qidiruvlar juda koʻp. Iltimos, sekinroq.
  • Too many uploads. Try again in an hour.
    RU: Слишком много загрузок. Попробуйте через час.
    UZ: Juda koʻp yuklash. Bir soatdan keyin urinib koʻring.

Example response

Response
HTTP/1.1 429 Too Many Requests
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
Retry-After: 1

{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Please slow down.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/rate_limited",
    "reason": "api_key_rate",
    "limit": 50
  }
}

All error codes · The error format