Error reference

range_too_large

HTTP status
422 Unprocessable Content
Returned by
Analytics

What it means

The request cannot be processed as sent. The API explains it as: “The period is too long. Pick at most 5 years.”

How to fix it

Read the message: it says what to change. If it does not help, contact support with the request_id.

Message

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

  • The period is too long. Pick at most 5 years.
    RU: Слишком длинный период. Выберите не больше 5 лет.
    UZ: Davr juda uzun. Koʻpi bilan 5 yil tanlang.

Example response

Response
HTTP/1.1 422 Unprocessable Content
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55

{
  "error": {
    "code": "range_too_large",
    "message": "The period is too long. Pick at most 5 years.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/range_too_large"
  }
}

All error codes · The error format