Error reference

ai_unavailable

HTTP status
502 Bad Gateway
Returned by
Kweko AI

What it means

An upstream service failed. The API explains it as: “Kweko AI is not responding right now. Try again. No credits were used.”

How to fix it

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

Message

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

  • Kweko AI is not responding right now. Try again. No credits were used.
    RU: Kweko AI сейчас не отвечает. Попробуйте ещё раз. Кредиты не списаны.
    UZ: Kweko AI hozir javob bermayapti. Qayta urinib koʻring. Kreditlar sarflanmadi.

Example response

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

{
  "error": {
    "code": "ai_unavailable",
    "message": "Kweko AI is not responding right now. Try again. No credits were used.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/ai_unavailable"
  }
}

All error codes · The error format