Error reference

invalid_blocks

HTTP status
502 Bad Gateway
Returned by
Apps and the app platform

What it means

An upstream service failed. The API explains it as: “The app returned a response Kweko can't show.”

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 app returned a response Kweko can't show.
    RU: Приложение вернуло ответ, который Kweko не может показать.
    UZ: Ilova Kweko koʻrsata olmaydigan javob qaytardi.
  • The app returned blocks Kweko can't show.
    RU: Приложение вернуло блоки, которые Kweko не может показать.
    UZ: Ilova Kweko koʻrsata olmaydigan bloklarni qaytardi.
  • The app returned invalid JSON.
    RU: Приложение вернуло некорректный JSON.
    UZ: Ilova notoʻgʻri JSON qaytardi.
  • The app's response is larger than 64 KB.
    RU: Ответ приложения больше 64 КБ.
    UZ: Ilova javobi 64 KB dan katta.

Example response

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

{
  "error": {
    "code": "invalid_blocks",
    "message": "The app returned a response Kweko can't show.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/invalid_blocks"
  }
}

All error codes · The error format