Insufficient credits
This account does not have enough credits for this request.
| Field | Value |
|---|---|
| HTTP status | 402 |
| code | INSUFFICIENT_CREDITS |
| retryable | false |
| type | https://docs.flashapi.io/errors/insufficient-credits |
Gateway and upstream problem+json bodies use this type URI. SDKs should branch on code, not on title or detail.
Example#
terminal
{
"type": "https://docs.flashapi.io/errors/insufficient-credits",
"title": "Insufficient credits",
"status": 402,
"detail": "This account does not have enough credits for this request.",
"instance": "urn:flashapi:request:req_01JXYZ123",
"code": "INSUFFICIENT_CREDITS",
"request_id": "req_01JXYZ123",
"retryable": false
}See the error catalog for every platform code.