Skip to Content
NoCam API
Errors

insufficient_credits

Not enough credits

  • Where: HTTP 402, and nothing started
  • Charged: No
  • Worth retrying: No. Someone has to change the key or the account.

What happened

The balance is below this generation's price. The error carries credits (the price) and balance. Only paid credits buy models directly: bonus credits are for scenes.

What to do

Top up at the link in top_up_url. An agent should send the person there and never top up on its own.

What it looks like

The real message and hint name the details of your request, such as the field and the values that work.

{
  "error": {
    "code": "insufficient_credits",
    "message": "The balance is below this generation's price. The error carries `credits` (the price) and `balance`. Only paid credits buy models directly: bonus credits are for scenes.",
    "hint": "Top up at the link in `top_up_url`. An agent should send the person there and never top up on its own.",
    "retryable": false,
    "request_id": "req_01a1b37b65dc7dcd8c060f296add5cf8",
    "docs_url": "https://docs.nocamclub.com/errors/insufficient_credits"
  }
}

All codes: Errors.

On this page