Skip to content

InsufficientCredits

View Markdown

HTTP status: 402 · Retryable: no

The org’s available credits do not cover the hold that the action reserves before it starts.

{subject} needs a {need} hold to start (released when it ends); available {available}

add credits with nodus billing top-up {topUp}, or lower spec.maxCostUSD

The response is a Kubernetes Status with reason: InsufficientCredits 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.InsufficientCredits.

details also carries:

  • availableUSD, which the Python SDK exposes as available_usd
  • neededUSD, which the Python SDK exposes as needed_usd