Skip to content

Errors

insufficient_balance

The balance does not cover the call.

Status

HTTP 402, title Insufficient balance. One of the money errors. Branch on code, never on the status or the prose.

Common causes

  • The balance is lower than the call's price, or its worst-case quote.
  • On one item of a partial Run: the balance ran short mid-Run.

What to do

Top the balance up. On the call itself this means nothing was charged and no work started, so it can be repeated as-is. On one item of a partial Run, the balance ran short mid-Run: the earlier items were charged, this one was not.

Example

The body arrives as application/problem+json. Most responses add detail about the occurrence, and some add fields of their own.

{
  "type": "https://www.shortsintel.com/docs/reference/errors/insufficient_balance",
  "title": "Insufficient balance",
  "status": 402,
  "code": "insufficient_balance"
}