spend_limit_exceeded

HTTP 402 · billing_error

This key hit its own spend cap. The account may still have credit.

You are not charged for this error. JustAPI only ever bills a completed job whose output was smaller than its input — never a request that failed, regardless of whose fault it was.

What to do

Top up the balance, or raise that key's spend cap.

Response shape

{
  "error": {
    "code": "spend_limit_exceeded",
    "message": "<details for this specific request>",
    "type": "billing_error",
    "doc_url": "https://justapi.tech/docs/errors/spend_limit_exceeded/",
    "request_id": "req_..."
  }
}

All error codes · API reference