Errors and how to recover
Every error is JSON with two fields:
error: the same shape for every error. Branch onerror.code, never on message text.detail: the specifics of this error (unchanged from beforeerrorexisted). Where there is something to act on, it is an object.
{
"error": {
"code": "no_capacity",
"message": "Every rtx4090 is rented right now; nothing was created. Try again in 60 seconds.",
"retryable": true,
"retry_after_seconds": 60
},
"detail": { "code": "no_capacity", "available_gpus": {"rtx4090": 0}, "...": "..." }
}
error.message is a plain sentence saying what happened and what to do next, fit to show a person. error.retryable says whether sending the same request again later can succeed; if so, wait error.retry_after_seconds (also in the Retry-After header) when it is given.
Error codes
error.code | Status | Meaning | Retry the same request? |
|---|---|---|---|
gpu_unavailable | 400 | None of the GPU models asked for is offered; detail.available lists those that are. | no |
invalid_request | 400 | The request can't be done as sent; message says why. | no |
unauthenticated | 401 | The API key is missing or not valid. | no |
insufficient_balance | 402 | The balance doesn't cover an hour of what you're starting. | no |
forbidden | 403 | This key or account may not do this. | no |
key_limit | 403 | The key is at one of its limits (rentals at once, or spend per 24 hours). | no |
scope_required | 403 | The key lacks a scope; detail.required_scope names it. | no |
not_found | 404 | No such resource on this account. | no |
unknown_endpoint | 404 | No such endpoint; check the path against /openapi.json. | no |
method_not_allowed | 405 | That HTTP method isn't used on this path. | no |
active_deployments | 409 | Stop the running rentals and models first. | no |
conflict | 409 | The resource's current state doesn't allow this. | no |
idempotency_in_progress | 409 | A request with this Idempotency-Key is still running. | yes |
model_not_ready | 409 | The model has no replica ready yet (starting or moving); retry shortly. | yes |
idempotency_key_reused | 422 | This Idempotency-Key was used with a different body. | no |
validation_error | 422 | Fields are missing or invalid; detail lists each one. | no |
auth_throttled | 429 | Too many failed API-key checks from this address; fix the key, then wait. | no |
rate_limited | 429 | Too many requests; wait retry_after_seconds. | yes |
too_many_invoices | 429 | Too many unpaid crypto invoices are open. | no |
server_error | 500 | Something failed on our side. | yes |
not_implemented | 501 | This endpoint is turned off. | no |
no_capacity | 503 | Every GPU that fits is in use; nothing was created. Retry after retry_after_seconds. | yes |
unavailable | 503 | Temporarily unavailable. | yes |
exec_unknown | 504 | A command was sent to a rental but no answer came back in time: it may or may not have run. Check before running it again. | no |
By status
| Status | When | What to do |
|---|---|---|
400 | A request is invalid, for example no requested GPU model exists in the fleet. | Read detail. For GPUs, detail.available lists the ids you can use. |
401 | The API key is missing or wrong. | Send Authorization: Bearer <key>. Create a key under Settings. |
402 | Your balance is below one hour of the price of the rental or private model you're starting. | Add credit on Billing, or over the API with crypto. detail gives the exact amounts. |
403 | Your key can't access that resource, or its scopes don't allow the request (detail.required_scope names the scope it needs). | Use a key from the account that owns it, or one with that scope. |
404 | The deployment or workload doesn't exist, or isn't yours. On /ssh, the pod isn't ready yet. | Check the id; for /ssh, wait for state: "ready". |
409 | The action conflicts with the current state: resuming a pod whose machine is full, or a retry sent while the first request with the same Idempotency-Key is still running. | Read detail; wait for Retry-After and retry. |
422 | The request body doesn't match the schema, or an Idempotency-Key was reused with a different body. | detail lists each bad field and why; use a new key for a different request. |
429 | Rate limit (for example 30 creates per minute per key; see Limits), or five unpaid crypto invoices already open. | Wait the number of seconds in the Retry-After header, then retry; pay or let an invoice expire, or pay from a verified wallet. |
503 | detail.code is no_capacity: every GPU this deployment could run on is rented right now, or no single machine has the GPUs it needs together. Nothing was created. | Wait the seconds in Retry-After (also detail.retry_after_seconds), check available_gpus in GET /platform/pricing, then resend the same request. |
The three you will see most
503 — fleet full
{
"detail": {
"code": "no_capacity",
"message": "every rtx4090 is rented right now; nothing was created. Try again in 60 seconds",
"gpu_models": ["rtx4090"],
"requested_gpus": 1,
"available_gpus": {"rtx4090": 0},
"max_gpus_per_deployment": {"rtx4090": 0},
"retry_after_seconds": 60,
"hint": "nothing was created. Poll GET /platform/pricing (available_gpus per GPU) and resend this request once it is at least requested_gpus"
}
}
Returned at once, with a Retry-After: 60 header, when the GPUs exist but are all in use, or when they are free but not together on one machine (message says which). This is "busy", as distinct from the 400 below, which is "never". A 503 creates nothing, so resending the same request, with the same Idempotency-Key if you use one, is safe and is the right way to wait for a GPU.
400 — GPU not available
{
"detail": {
"message": "none of the requested GPU models are available to rent",
"requested": ["h100"],
"available": ["rtx4090"],
"hint": "set supported_gpu_models to one of `available` (any spelling); see GET /platform/pricing"
}
}
This is returned immediately when you start the deployment, both for a GPU we don't offer and for one with no machine online right now, so you never wait on a rental that could never be placed. available is the same list as GET /platform/nodes/supported. A GPU that is on that list but fully rented gives the 503 above instead.
402 — not enough balance
{
"detail": {
"message": "insufficient balance to start this rental",
"required_cents": 40,
"current_cents": 12,
"rate_cents_per_hour": 40,
"gpu_count": 1,
"requested_instances": 1
}
}
You need required_cents - current_cents more, here $0.28. Top up (the smallest top-up is $5), then send the request again. A 402 creates nothing, so this retry can't start a second rental; for other failures, such as timeouts, use an Idempotency-Key so a retry is safe.
A deployment that ends up failed
Read last_error on GET /platform/deployments/{id}. The most common causes:
- The image doesn't exist or is private. Check the image name; only public images can be pulled.
- The image's CUDA is too old for an RTX 5090. Use a CUDA 12.8+ image (see GPU rental).
- SSH could not be set up in the image. A pod is only
readyonce its SSH server runs. Images withoutapt-get,apk,yumordnfcan't have one installed: use an Ubuntu/Debian/Alpine/CentOS-based image, or one withopenssh-serverpreinstalled. A container whose own command exits at once fails the same way, with its last output inlast_error.
A failed deployment is not billed.
A crypto payment that wasn't credited
A payment is matched to you by its exact invoice amount or by coming from a wallet you've verified. A different amount, a split payment, or one sent after the invoice expired isn't matched automatically. Verify the wallet you paid from, or request a review with the transaction hash: see If a payment isn't credited.
Green Compute