Error reference

invalid_file

HTTP status
422 Unprocessable Content
Returned by
Import and export

What it means

The request cannot be processed as sent. The API explains it as: “This file has more rows than your plan allows in one import.”

How to fix it

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

Messages

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

  • This file has more rows than your plan allows in one import.
    RU: В файле больше строк, чем ваш тариф разрешает за один импорт.
    UZ: Faylda tarifingiz bir importda ruxsat berganidan koʻproq qator bor.
  • We couldn't read this file: …
    RU: Не удалось прочитать файл: …
    UZ: Faylni oʻqib boʻlmadi: …

Example response

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

{
  "error": {
    "code": "invalid_file",
    "message": "This file has more rows than your plan allows in one import.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/invalid_file"
  }
}

All error codes · The error format