ai_credits_exhausted
- HTTP status
- 402 Payment Required
- Returned by
- Kweko AI
What it means
Payment is required. The API explains it as: “Not enough AI credits for this. Upgrade your plan or add credits.”
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.
- Not enough AI credits for this. Upgrade your plan or add credits.
RU: Для этого не хватает AI-кредитов. Повысьте тариф или добавьте кредиты.
UZ: Buning uchun AI kreditlari yetarli emas. Tarifni oshiring yoki kredit qoʻshing. - Out of AI credits for this month.
RU: AI-кредиты на этот месяц закончились.
UZ: Bu oy uchun AI kreditlari tugadi.
Example response
Response
HTTP/1.1 402 Payment Required
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "ai_credits_exhausted",
"message": "Not enough AI credits for this. Upgrade your plan or add credits.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://developers.kweko.uz/errors/ai_credits_exhausted"
}
}