Skip to content

agent_budget_exceeded

Error codeView as Markdown

This would raise spend beyond the agent token’s daily budget. The change would raise spend by more than the agent token’s daily budget allows. Budgets stop an agent scaling costs up without a human noticing.

  • HTTP status: 403 Forbidden
  • CLI exit code: 4 (approval required)
  • Retry: not as it is; the same request will fail the same way until the cause is fixed

An approval request was opened at {approval_url}; wait for it or lower the change.

Words in {braces} are filled in from the error response, which names the exact resource.

{
"type": "https://guv.dev/errors/agent_budget_exceeded",
"title": "This would raise spend beyond the agent token's daily budget",
"status": 403,
"code": "agent_budget_exceeded",
"detail": "The change would raise spend by more than the agent token's daily budget allows.",
"fix": "An approval request was opened at {approval_url}; wait for it or lower the change.",
"docs_url": "https://guv.dev/errors/agent_budget_exceeded",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

The code field is stable: match on it, not on title or detail, which may be reworded.