# BudgetExceeded

> A Block budget or a maxCostUSD cap that applies to the object has less room than the action's hold.

Source: https://www.nodus-compute.ai/docs/reference/errors/budget-exceeded/
Build revision: 4ebfc6023eeed1bd55d9969af1612182a7b0c7ff

<!-- Code generated by tools/errgen. DO NOT EDIT. -->

**HTTP status:** 402 · **Retryable:** no

A Block budget or a maxCostUSD cap that applies to the object has less room than the action’s hold.

## Message

```text
{limit} has {remaining} left of {limitUSD} {period}; {subject} needs {need}
```

## What to do

raise the limit ({field} on {limitRef}), or wait until {resetsAt}

## On the wire

The response is a Kubernetes `Status` with `reason: BudgetExceeded` and `code: 402`, plus `fix`, `docs` (this page) and `requestId`. `details.causes` lists the fields involved, when there are any. The CLI prints the fix and the request id; the Python SDK raises `nodus.errors.BudgetExceeded`.

`details` also carries:

* `budget`, which the Python SDK exposes as `budget`
* `neededUSD`, which the Python SDK exposes as `needed_usd`
* `remainingUSD`, which the Python SDK exposes as `remaining_usd`
