Skip to content

BudgetExceeded

View Markdown

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.

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

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

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