Error reference

invalid_idempotency_key

HTTP status
400 Bad Request
Returned by
idempotency

What it means

The Idempotency-Key header is empty, longer than 255 characters, or contains spaces or non-ASCII characters.

Typical causes

  • A key built from user text or with spaces.

How to fix it

  • Use a UUID (or any 1 to 255 visible ASCII characters).

Message

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

  • Idempotency-Key must be 1 to 255 visible characters.
    RU: Idempotency-Key должен содержать от 1 до 255 видимых символов.
    UZ: Idempotency-Key 1 tadan 255 tagacha ko'rinadigan belgidan iborat bo'lishi kerak.

Example response

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

{
  "error": {
    "code": "invalid_idempotency_key",
    "message": "Idempotency-Key must be 1 to 255 visible characters.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://docs.kweko.uz/errors/invalid_idempotency_key"
  }
}

All error codes · The error format