Skip to content

Error codes

View Markdown

Every API error is a Kubernetes-style Status object. reason is a stable code, code is the HTTP status, and three extra fields tell you what to do next:

{
"kind": "Status",
"apiVersion": "v1",
"status": "Failure",
"reason": "InsufficientCredits",
"code": 402,
"message": "job \"train-a\" needs a $3.20 hold to start (released when it ends); available $1.10",
"fix": "nodus billing top-up 20, or lower spec.maxCostUSD",
"docs": "https://nodus-compute.ai/docs/reference/errors/insufficient-credits",
"requestId": "req_01j9…"
}

Include the requestId when you contact support. The docs link is the code’s page below, named after the code in lowercase words (InsufficientCredits is insufficient-credits).