ai_credit_exhausted
HTTP 402 · AI gateway (SPEC §14.2)
AI credit is used up. Add credit or switch to your own provider key.
Does retrying help?
Not until something else changes. The message says what: a plan, an add-on, a setting or a role. The same request then works.
The response
Every Flatstack error has this shape. details, when present, says more about this case.
{
"error": {
"code": "ai_credit_exhausted",
"message": "AI credit is used up. Add credit or switch to your own provider key.",
"docsUrl": "https://flatstack.dev/docs/errors/ai_credit_exhausted"
}
}
As Markdown: errors/ai_credit_exhausted.md