bad_upload
- HTTP status
- 400 Bad Request
- Returned by
- Import and export
What it means
The request is malformed. The API explains it as: “Upload a CSV or XLSX file.”
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.
- Upload a CSV or XLSX file.
RU: Загрузите файл CSV или XLSX.
UZ: CSV yoki XLSX fayl yuklang.
Example response
Response
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "bad_upload",
"message": "Upload a CSV or XLSX file.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://developers.kweko.uz/errors/bad_upload"
}
}