INSUFFICIENT_CREDITS
The account does not hold enough credits for this purchase.
| HTTP status | 402 |
| Group | Pricing and purchase |
| Retryable | No — sending it again changes nothing |
What happened
You asked to pay from credits, and the balance is below the price.
What to do
Deposit USDC first, or buy in one call with depositAndSubscribe.
The problem document
Every error is application/problem+json (RFC 9457) with the same shape:
{
"type": "https://docs.co-relayer.com/errors/insufficient-credits",
"title": "The account does not hold enough credits for this purchase.",
"status": 402,
"detail": "A sentence about this specific occurrence.",
"instance": "req_01JB…",
"code": "INSUFFICIENT_CREDITS",
"retryable": false,
"hint": "Deposit USDC first, or buy in one call with `depositAndSubscribe`."
}
See the error model for what each member means and how to handle unknown codes.