API error · HTTP 402
quota_exhausted
Token quota exhausted
| HTTP status | 402 Payment Required |
|---|---|
code | quota_exhausted |
title | Token quota exhausted |
| Retry? | No |
What it means
Your organisation does not have enough tokens left for this assessment. The body carries cost, remaining and module, and detail says the same in words. A quote shows the problem in warnings[] before you start (§6, Step 5).
What to do
Do not retry. Notify the WALT account owner at your firm to top up or change the plan (§12.4).
Example response
Branch on code, never on title or detail. detail varies; quote request_id to support.
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json
{
"type": "https://www.underwritinguk.ai/developers/errors/quota_exhausted",
"title": "Token quota exhausted",
"status": 402,
"code": "quota_exhausted",
"detail": "Token quota exhausted.",
"request_id": "7b0b1e5c-2f7e-4a52-9a43-5b0d0f0e9d11"
}All error codes · Error catalogue in the integration guide (§15) · Error handling and retries (§12.4)