Credits exhausted
https://resolvefrom.com/docs/errors/credits_exhausted
When this happens
Returned when the API has blocked the team for billing or has spent a credit snapshot carried on the token. Tokens minted by POST /v1/tokens on this site do not carry a credit snapshot; instead, a zero-balance or suspended team is refused with 402 at POST /v1/tokens and receives 403 team_stopped once suspended.
How to handle it
Add credits to your team balance, confirm the team is no longer suspended, and mint a new bearer token at POST /v1/tokens.
Example response
HTTP/1.1 402
Content-Type: application/problem+json
X-Request-Id: 0195a8c0-7b1e-7000-8000-000000000001
{
"type": "https://resolvefrom.com/docs/errors/credits_exhausted",
"title": "Credits exhausted",
"status": 402,
"detail": "This team is out of credits.",
"code": "credits_exhausted",
"request_id": "0195a8c0-7b1e-7000-8000-000000000001",
"from": {
"provider": "fly.io",
"region": "iad"
}
}