body_too_large
- HTTP status
- 413 Content Too Large
- Returned by
- adspend; booking; forms; Every endpoint (request handling); Error reporting from the Kweko apps; tgbot
What it means
The JSON body is larger than 1 MB.
Typical causes
- A very large custom field value, or many records in one request.
How to fix it
- Send smaller requests. For many records use several requests within the rate limits.
Messages
English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.
- Telemetry batches are limited to 64 KB.
RU: Пакет телеметрии не может быть больше 64 КБ.
UZ: Telemetriya paketi 64 KB dan oshmasligi kerak. - The file is larger than 4 MB. Split it by month.
RU: Файл больше 4 МБ. Разделите его по месяцам.
UZ: Fayl 4 MB dan katta. Uni oylar boʻyicha boʻling. - The request body is larger than 1 MB.
RU: Тело запроса больше 1 МБ.
UZ: Soʻrov tanasi 1 MB dan katta. - The request body is too large.
RU: Тело запроса слишком большое.
UZ: Soʻrov tanasi juda katta.
Example response
Response
HTTP/1.1 413 Content Too Large
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "body_too_large",
"message": "Telemetry batches are limited to 64 KB.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://developers.kweko.uz/errors/body_too_large"
}
}