vram.supply

Errors

All errors return JSON with a consistent shape. HTTP status codes follow standard conventions.

Error Format

{
  "error": {
    "message": "Human-readable description",
    "type": "error_type"
  }
}

Error Codes

CodeTypeMeaningAction
400invalid_request_errorBad request body or parametersFix the request
401auth_errorInvalid or missing API keyCheck your key
402billing_errorStripe: No payment method, suspended, or over credit limitAdd/update card — do not retry
402payment_requiredMPP: Payment challenge issued. WWW-Authenticate: Payment header contains the challenge.Fulfill the challenge and retry with credential
429rate_limit_errorToo many requestsBack off; honour Retry-After header
500server_errorInternal platform errorRetry once, then report
502server_errorAll providers failed after retriesRetry immediately (different provider selected)
503server_errorNo providers available for the modelWait, try different model, or relax price constraints

Retry Guidance

  • 502 — provider failure. Retry immediately — the platform selects a different provider.
  • 503 — no providers online. Wait and retry, or try a different model.
  • 429 — rate limited. Exponential backoff. Honour Retry-After.
  • 402 (Stripe) — billing issue. Do not retry. Update your payment method first.
  • 402 (MPP) — payment challenge. Retry with an Authorization: Payment credential. This is the normal MPP flow — not an error.