insufficient_credits

HTTP 402 · billing_error

Account balance is too low for this operation.

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": "insufficient_credits",
    "message": "<details for this specific request>",
    "type": "billing_error",
    "doc_url": "https://justapi.tech/docs/errors/insufficient_credits/",
    "request_id": "req_..."
  }
}

All error codes · API reference