Error reference

channel_in_use

HTTP status
409 Conflict
Returned by
Conversations, messages and channels

What it means

The request conflicts with the current state. The API explains it as: “A Telegram Business channel uses this bot. Delete that channel first.”

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.

  • A Telegram Business channel uses this bot. Delete that channel first.
    RU: Этот бот используется каналом Telegram Business. Сначала удалите тот канал.
    UZ: Bu botdan Telegram Business kanali foydalanadi. Avval o'sha kanalni o'chiring.
  • This channel has conversations. Disconnect it instead, so the history stays.
    RU: В этом канале есть диалоги. Лучше отключите его, чтобы история сохранилась.
    UZ: Bu kanalda suhbatlar bor. Tarix saqlanib qolishi uchun uni uzib qoʻying.

Example response

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

{
  "error": {
    "code": "channel_in_use",
    "message": "A Telegram Business channel uses this bot. Delete that channel first.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/channel_in_use"
  }
}

All error codes · The error format