Error reference

unauthorized

HTTP status
401 Unauthorized
Returned by
Every endpoint (request handling)

What it means

The request reached a /v1 endpoint without any credentials.

Typical causes

  • The Authorization header is missing.
  • The header does not start with Bearer (with one space), so it is ignored.
  • A proxy or HTTP client dropped the header on a redirect.

How to fix it

  • Send Authorization: Bearer kwk_live_… with every request.
  • Call https://api.kweko.uz/v1/… directly, without redirects.

Message

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

  • Please sign in.
    RU: Пожалуйста, войдите.
    UZ: Iltimos, tizimga kiring.

Example response

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

{
  "error": {
    "code": "unauthorized",
    "message": "Please sign in.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/unauthorized"
  }
}

All error codes · The error format