concurrency_limited
- HTTP status
- 429 Too Many Requests
- Returned by
- Every endpoint (rate limits)
What it means
The API key (or the app's installation, reason: app_concurrency) already has 10 requests in flight. Kweko refuses more until one finishes.
Typical causes
- A worker pool or
Promise.allsends too many requests at once with one key.
How to fix it
- Limit your client to at most 10 parallel requests per key, and retry after
Retry-After(1 second).
Message
English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.
- Too many requests in flight for this API key.
RU: Слишком много одновременных запросов для этого API-ключа.
UZ: Bu API kalit uchun bir vaqtdagi soʻrovlar juda koʻp.
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": "concurrency_limited",
"message": "Too many requests in flight for this API key.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://developers.kweko.uz/errors/concurrency_limited",
"reason": "api_key_concurrency",
"limit": 10
}
}