# `insufficient_balance`

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

The balance does not cover the call.

## Status

HTTP `402`, title `Insufficient balance`. One of the [money](https://www.shortsintel.com/docs/reference/errors#money) errors. Branch on `code`, never on the status or the prose.

Retryable: no. Every body carries this as `retryable: false`, beside `action` and `remedy`: the same request will fail again until the request changes or a person acts.

## 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

Action: Tell the Customer to top up the Balance, then repeat the same request.

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`, with `retryable` and the `remedy` above. Most responses add `detail` about the occurrence, and some add fields of their own.

```json
{
  "type": "https://www.shortsintel.com/docs/reference/errors/insufficient_balance",
  "title": "Insufficient balance",
  "status": 402,
  "code": "insufficient_balance",
  "retryable": false,
  "action": "Tell the Customer to top up the Balance, then repeat the same request.",
  "remedy": "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."
}
```

## Related

- [Pricing and estimates](https://www.shortsintel.com/docs/concepts/pricing-and-estimates)
- [Balance in the console](https://www.shortsintel.com/console/billing)
- [Every error code](https://www.shortsintel.com/docs/reference/errors)

[Previous collection_name_taken](https://www.shortsintel.com/docs/reference/errors/collection_name_taken)[Next max_credits_exceeded](https://www.shortsintel.com/docs/reference/errors/max_credits_exceeded)
