Error reference

promo_state

HTTP status
409 Conflict
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 conflicts with the current state. The API explains it as: “This code can't change to that state.”

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.

  • This code can't change to that state.
    RU: Этот код нельзя перевести в такое состояние.
    UZ: Bu kodni bunday holatga oʻtkazib boʻlmaydi.

Example response

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

{
  "error": {
    "code": "promo_state",
    "message": "This code can't change to that state.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://docs.kweko.uz/errors/promo_state"
  }
}

All error codes · The error format