Error reference

ai_consent_required

HTTP status
403 Forbidden 409 Conflict 422 Unprocessable Content
Returned by
Kweko AI; Automations; Calls and telephony

What it means

The action is not allowed. The API explains it as: “Kweko AI is off. An admin can turn it on in Settings → AI.”

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.

  • Kweko AI is off. An admin can turn it on in Settings → AI.
    RU: Kweko AI выключен. Администратор может включить его в разделе Настройки → AI.
    UZ: Kweko AI oʻchirilgan. Administrator uni Sozlamalar → AI boʻlimida yoqishi mumkin.
  • Turn on Kweko AI first (Settings → Kweko AI).
    RU: Сначала включите Kweko AI (Настройки → Kweko AI).
    UZ: Avval Kweko AI ni yoqing (Sozlamalar → Kweko AI).

Example response

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

{
  "error": {
    "code": "ai_consent_required",
    "message": "Kweko AI is off. An admin can turn it on in Settings → AI.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/ai_consent_required"
  }
}

All error codes · The error format