Error reference

invalid_code

HTTP status
401 Unauthorized
Returned by
Kweko Admin (staff only, not the public API)

This code comes from the Kweko Admin, the staff back office. API keys and apps never receive it.

What it means

The request is not authenticated. The API explains it as: “That code is wrong or expired.”

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.

  • That code is wrong or expired.
    RU: Код неверный или устарел.
    UZ: Kod notoʻgʻri yoki muddati oʻtgan.

Example response

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

{
  "error": {
    "code": "invalid_code",
    "message": "That code is wrong or expired.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/invalid_code"
  }
}

All error codes · The error format