Error reference

bad_payload

HTTP status
400 Bad Request
Returned by
Conversations, messages and channels; Integrations; SMS; Calls and telephony; tgbot

What it means

The request is malformed. The API explains it as: “The callback payload was not understood.”

How to fix it

Read the message: it says what to change. If it does not help, contact support with the request_id.

Messages

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

  • The callback payload was not understood.
    RU: Не удалось разобрать данные обратного вызова.
    UZ: Qayta chaqiruv maʼlumotlarini tushunib boʻlmadi.
  • The webhook payload was not understood.
    RU: Не удалось разобрать данные вебхука.
    UZ: Webhook maʼlumotlarini tushunib boʻlmadi.

Example response

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

{
  "error": {
    "code": "bad_payload",
    "message": "The callback payload was not understood.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/bad_payload"
  }
}

All error codes · The error format