Error reference

opted_out

HTTP status
409 Conflict
Returned by
documents; Conversations, messages and channels

What it means

The client opted out of messages on this channel. Kweko does not send to them unless you confirm.

Typical causes

  • The client unsubscribed (for example sent STOP) or was marked do-not-contact.

How to fix it

  • Do not message them. If they asked you to write (for example in reply to their own question), resend with "force": true.

Messages

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

  • The client opted out on this channel.
    RU: Клиент отписался в этом канале.
    UZ: Mijoz bu kanalda obunadan chiqqan.
  • The client opted out on this channel. Send anyway?
    RU: Клиент отписался от сообщений в этом канале. Всё равно отправить?
    UZ: Mijoz bu kanalda xabarlardan voz kechgan. Baribir yuborasizmi?

Example response

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

{
  "error": {
    "code": "opted_out",
    "message": "The client opted out on this channel.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/opted_out"
  }
}

All error codes · The error format