---
title: "Error codes"
description: "Every E- code the control plane returns, grouped by area, with its HTTP status, what causes it and what to do. Also the generic codes of the error body."
url: "https://opod.io/docs/control-plane-reference/error-codes/"
markdown_url: "https://opod.io/docs/control-plane-reference/error-codes.md"
section: "Reference"
last_updated: "2026-10-30"
---

# Error codes

> Every E- code the control plane returns, grouped by area, with its HTTP status, what causes it and what to do. Also the generic codes of the error body.

Every refusal carries a code you can script on. The error body is always the same shape:

```json
{ "code": "invalid", "error": "<the sentence for a person>", "details": { "code": "E-…", "alternatives": [ "…" ], "field": "…" } }
```

Where the `E-…` code sits depends on the kind of refusal:

| Kind                                                                                        | Status              | `code`                | `E-…` code                         |
| ------------------------------------------------------------------------------------------- | ------------------- | --------------------- | ---------------------------------- |
| A plan or request the control plane refuses (the planner, a model or machine action, a run) | `400`               | `invalid`             | `details.code`                     |
| A decision on a rollout hold that does not apply                                            | `409`               | `conflict`            | `details.code`                     |
| Setup mode, a lost database, a planned adapter, a missing notifier                          | `503`, `422`, `409` | the `E-…` code itself | `code`                             |
| A rollout or prefetch step that fails                                                       | in the run          | —                     | the step's `code`, with `remedies` |

`details.alternatives` lists choices that would pass. Preview and create answer identically. A rollout that is refused carries the same code on its failed step. The metric `opodcp_plan_judgements_total{result}` counts plans by code.

Unless a table gives a status, a code is a `400` planner refusal, and the remedy is in `details.alternatives`. Codes marked † are new in `0.3.0`.

## In short

When the control plane refuses something, the answer names the rule in an `E-…` code and, most often, lists choices that would pass. Look the code up here: each row says what causes it and what to do. Preview, create and a rollout's `validate` step give the same code for the same plan, so you can find a refusal before anything moves.

## How to read this page

- Find the code with your browser's search. The sections follow the areas of the product: store, placement, gangs, KV cache, scaling, exposure, runs, models, machines.
- **Status** is the HTTP status. A row without one is a `400` planner refusal.
- **What to do** names the fix. The answer's `details.alternatives` often holds a ready-made one for your plan.
- A code marked † is new in `0.3.0`.

## A worked example

Preview a plan, and branch on the code in a script:

```bash
OUT=$(curl -s -H "$H" -H 'Content-Type: application/json' -X POST https://cp.example.com/api/v1/endpoints/preview -d @chat.json)
case "$(echo "$OUT" | jq -r '.details.code // empty')" in
  "")    echo "fits:"; echo "$OUT" | jq -c '.claims' ;;
  E-FIT) echo "does not fit:"; echo "$OUT" | jq -r '.error, .details.alternatives[]?' ;;
  *)     echo "refused:"; echo "$OUT" | jq -r '.details.code, .error' ;;
esac
```

A refused answer has this shape (the sentences here are examples):

```json
{ "code": "invalid",
  "error": "node-a: card 0 has 22.5 GB free, the plan needs 30 GB",
  "details": { "code": "E-FIT", "alternatives": [ "node-b/0 has 46 GB free" ] } }
```

The wording of `error` and of each alternative is for a person and may change between releases. Script on `details.code`.

## Control plane and store

| Code                  | Status | Cause                                                                                                     | What to do                                                                                           |
| --------------------- | ------ | --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `E-SETUP` †           | 503    | setup mode: no database the control plane can use; the sentence says which                                | `GET /api/v1/setup` names the kind; see [Doctor](https://opod.io/docs/control-plane-operate/doctor/) |
| `E-DB-UNREACHABLE` †  | 503    | the database went away while running; nothing was changed                                                 | bring it back; the control plane reconnects by itself                                                |
| `E-ADAPTER-TARGET` †  | 422    | a connector verify named an adapter that is planned, not built                                            | choose a built adapter                                                                               |
| `E-NO-NOTIFIER` †     | 409    | a notifier test with no alert sink connected                                                              | save `OPODCP_NOTIFY_URLS` on the Connectors page                                                     |
| `E-NO-SECRET-STORE` † | 400    | a secrets sync with no secret store connected                                                             | connect `OPODCP_SECRETS_URL` first                                                                   |
| `E-BATCH-STORE`       | 501    | the batch API has no object store, or one it cannot use; OpenAI body, `code` `batch_store_not_configured` | connect the `batchfiles` store on the Connectors page and restart                                    |
| `E-LICENCE`           | 400    | the placement is beyond the licensed GPUs, or the fleet says the key's cells are over it                  | install a larger key; see [Licensing](https://opod.io/docs/control-plane/licensing/)                 |
| `E-QUOTA`             | 400    | the team's GPU quota is full                                                                              | raise the quota (`PUT /api/v1/team-quotas`) or free a GPU the team holds                             |

## Capacity and placement

| Code                    | Cause                                                                                                                                              |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `E-FIT`                 | no card has the room; the reason quotes the measured numbers. Also a node that would hold dedicated and shared workers at once                     |
| `E-TELEMETRY-WARMING` † | the control plane just started and has not read every card; `details.retryAfterS`, and a run waits it out by itself                                |
| `E-NO-ACCELERATOR`      | no node of any GPU vendor exists for a worker left to the placer                                                                                   |
| `E-AUTO-SHAPE`          | an auto plan names a node, a split, gangs or several workers                                                                                       |
| `E-AUTO-SIZE`           | a shared auto plan with nothing to size the model by                                                                                               |
| `E-AUTO-NOFIT`          | no rung of the auto ladder fits                                                                                                                    |
| `E-UNVERIFIED`          | `verifiedOnly` and a path this control plane has not proven; also a rollout under `images.verify=enforce` whose image signature cannot be verified |
| `E-DISK`                | the node's model cache has no room for the weights or a disk KV tier                                                                               |
| `E-NODE-CORDONED`       | the plan names a cordoned node                                                                                                                     |
| `E-NODE-TAINTED`        | the node has a taint nothing tolerates; `details.set` is the toleration to set                                                                     |
| `E-VENDOR-UNKNOWN`      | a node's vendor label, or a growth shape's vendor, names a vendor this build does not know                                                         |
| `E-SHARED-VENDOR`       | a shared (budgeted) worker on a non-NVIDIA node                                                                                                    |
| `E-SLICE-BUDGET` †      | a shared worker on a time-sliced node asks more than one turn's VRAM                                                                               |
| `E-IMAGE-FAMILY`        | the worker image is not built for the node's GPU family                                                                                            |
| `E-NO-ENGINE`           | no worker image or support for this engine on this vendor; also LoRA on a non-vLLM engine                                                          |
| `E-ENGINE-MODEL`        | the engine cannot load this model's format on this silicon                                                                                         |
| `E-ENGINE-RERANK`       | a rerank endpoint on an engine that cannot score documents; `details.engines` names those that can                                                 |

## Parallelism and gangs

| Code                                                                        | Cause                                                                                                                                                                                                                                                                                                         |
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `E-SHAPE`                                                                   | a parallelism a worker cannot express (pipeline or expert parallel on a worker, a tensor degree that is not a power of two, tensor split on llama.cpp)                                                                                                                                                        |
| `E-TP-DOMAIN`                                                               | a tensor group wider than the node's devices, or an image that cannot host the split (for example vLLM tensor parallel on AMD, in 0.3.0, and vLLM pipeline parallel on AMD from 0.3.2)                                                                                                                        |
| `E-TP-HEADS`                                                                | the tensor degree does not divide the model's attention heads, or does not fit its KV heads                                                                                                                                                                                                                   |
| `E-PP-LAYERS`                                                               | more pipeline stages than the model has layers                                                                                                                                                                                                                                                                |
| `E-ENGINE-NO-GANG`                                                          | the engine has no multi-node backend                                                                                                                                                                                                                                                                          |
| `E-GANG-VENDOR`                                                             | a vLLM or SGLang gang across vendors                                                                                                                                                                                                                                                                          |
| `E-GANG-HEAD`                                                               | the head names a node none of the gang's parts names                                                                                                                                                                                                                                                          |
| `E-GANG-NAME`                                                               | the gang id is too long to name its Kubernetes objects                                                                                                                                                                                                                                                        |
| `E-GANG-MULTI`                                                              | several gangs and a leader that routes to one                                                                                                                                                                                                                                                                 |
| `E-GANG-SUBSTRATE`                                                          | the LeaderWorkerSet controller the chart enabled is down                                                                                                                                                                                                                                                      |
| `E-EP-ENGINE`, `E-EP-DENSE`, `E-EP-SHARED`, `E-EP-DOMAIN`                   | expert parallelism: not an engine that spreads experts; a model with no experts; a shared plan; parts across machines without an all-to-all proof                                                                                                                                                             |
| `E-PD-ENGINE` †, `E-PD-DOMAIN`, `E-PD-VENDOR` †, `E-PD-TP` †, `E-PD-TIER` † | prefill/decode: an engine with no KV connector, or a vLLM pair on a vendor its handoff is not proven on (every vendor but NVIDIA; 0.3.0); a half with no node, or a pair across nodes without a fabric proof; two vendors; tensor degrees that do not divide; a tier the engine cannot carry beside the split |
| `E-TT-SPEC`, `E-TT-WEIGHTS`, `E-TT-HUGEPAGES`, `E-TT-GANG`                  | Tenstorrent: missing or wrong model spec; weights not on the node; no 1 GiB huge pages; a gang                                                                                                                                                                                                                |

## KV cache

| Code               | Cause                                                                             |
| ------------------ | --------------------------------------------------------------------------------- |
| `E-KV-OFFLOAD`     | a KV tier the engine, vendor or image cannot carry; the `peer` tier               |
| `E-KV-RAM`         | the node's KV tiers and workers exceed its host memory, or `kvOffload.maxNodePct` |
| `E-KV-DTYPE` †     | an 8-bit KV cache over weights it is not proven with                              |
| `E-KV-EVENTS`      | `kvEvents` on an engine that does not publish cache events                        |
| `E-KV-SIGNAL`      | a KV-pressure trigger on an engine with no KV signal                              |
| `E-CACHE-REMOTE` † | team or key cache isolation on a remote endpoint                                  |

## Scaling

| Code                | Cause                                                                            |
| ------------------- | -------------------------------------------------------------------------------- |
| `E-TTFT-SIGNAL`     | a TTFT budget on a model that never streams, or a leader without the measurement |
| `E-SLEEP-CARD` †    | `sleepCard: free` on a dedicated plan                                            |
| `E-GROWTH-ENGINE` † | a growth shape names a vendor where the engine has no image                      |
| `E-SCALER-ROWS`     | several worker rows under `autoscaler.adapter=keda`                              |
| `E-SCALER-PD` †     | a prefill/decode plan that autoscales under KEDA                                 |
| `E-PARK-FLOOR`      | parked gangs leave fewer serving than the plan's floor                           |

## Exposure, doors and identity

| Code                                                                                   | Cause                                                                                                                                                                                                                         |
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `E-GATEWAY-NOT-READY` †                                                                | `endpoints.expose=gateway`, or an InferencePool, and no Programmed Gateway                                                                                                                                                    |
| `E-NORTH-BACKEND-TLS` †                                                                | `endpoints.expose=gateway` or `ingress`, the leader serves TLS, and the route cannot verify it: no `BackendTLSPolicy` served, or an Ingress class other than ingress-nginx without a backend-protocol annotation (from 0.3.2) |
| `E-GATEWAY-UNSUPPORTED`                                                                | front doors on a leader that does not support them                                                                                                                                                                            |
| `E-DOORS-NODES` †                                                                      | a pinned door count above the nodes that may hold a door                                                                                                                                                                      |
| `E-DOOR-ALIAS`                                                                         | a cell-door alias already used, or not a valid model name                                                                                                                                                                     |
| `E-DOOR-AUTO` †                                                                        | an invalid auto route, or an auto route on an install with no cell door                                                                                                                                                       |
| `E-INFERENCEPOOL-CRD` †                                                                | an InferencePool the install cannot render (pools off, no picker image, or no CRD)                                                                                                                                            |
| `E-POOL-MODEL-MISMATCH` †                                                              | an InferencePool already holds another model                                                                                                                                                                                  |
| `E-VERTEX-KEYS` †, `E-VERTEX-PROTOCOL` †, `E-VERTEX-DOORS` †, `E-VERTEX-UNSUPPORTED` † | Vertex routes with keys required; not a chat endpoint; with front doors; a leader without them                                                                                                                                |
| `E-MTLS-REPLICAS`, `E-MTLS-GANG`                                                       | `workers.mtls=require` (or `allow`, for replicas) and a worker row with replicas, or a gang                                                                                                                                   |

## Runs and rollouts

| Code                                                 | Status | Cause                                                           | What to do                                                                    |
| ---------------------------------------------------- | ------ | --------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `E-RUN-ACTIVE` †                                     | 400    | a run that writes templates already holds the endpoint          | wait for it, or cancel it                                                     |
| `E-RUN-FINISHED` †                                   | 400    | a cancel of a run that already ended                            | nothing to cancel                                                             |
| `E-RUN-NOT-CANCELLABLE` †                            | 400    | a cancel of a delete                                            | a delete only goes forward                                                    |
| `E-CANARY`                                           | —      | the canary was judged and failed; the rollout rolls back        | read the step's numbers, fix the revision, roll again                         |
| `E-CANARY-ABORTED`                                   | —      | an operator aborted the canary hold                             | roll again when ready                                                         |
| `E-CANARY-NOT-HOLDING`, `E-CANARY-DECIDED`           | 409    | no canary hold to end; a decision already stands                | read the run; a decision is not reversed                                      |
| `E-EVAL-GATE`                                        | —      | the eval scored below `plan.eval.minScore`                      | fix the revision, or lower the floor                                          |
| `E-SIGNATURE`, `E-UNSIGNED`                          | —      | `images.verify=enforce`: an invalid or absent image signature   | see [Supply chain](https://opod.io/docs/control-plane-security/supply-chain/) |
| `E-MODEL-SIGNATURE-REJECTED` †                       | —      | an admin rejected an invalid model signature                    | publish a valid signature, then roll again                                    |
| `E-SIGNATURE-NOT-HOLDING` †, `E-SIGNATURE-DECIDED` † | 409    | no signature hold to decide; a decision already stands          | read the run                                                                  |
| `E-LORA-RANK`                                        | 400    | a live adapter's rank exceeds what the engines were started for | add it to the plan and roll, or use a smaller rank                            |

## Models

| Code                                                                | Cause                                                                                                 | What to do                                                         |
| ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| `E-MODEL-IN-USE`                                                    | deleting a model an endpoint names                                                                    | delete the endpoints first                                         |
| `E-MODEL-UNAPPROVED` †                                              | `requireApproval` and a new pin of an unapproved version, or of no version                            | approve the version, or pin an approved one                        |
| `E-VERSION-UNKNOWN`                                                 | a version that does not exist                                                                         | pick one of `alternatives`                                         |
| `E-VERSION-ARCHIVED`                                                | pinning or rolling back to an archived version                                                        | promote it back to staging, or pin another                         |
| `E-VERSION-IN-USE`                                                  | archiving a version an endpoint pins                                                                  | move those endpoints first                                         |
| `E-HUB-TOKEN-MISSING`, `E-HUB-TOKEN-REFUSED`, `E-HUB-ACCESS-DENIED` | a prefetch step: a gated model and no Hugging Face token; a token the Hub refuses; terms not accepted | see [Models](https://opod.io/docs/control-plane-endpoints/models/) |

## Machines

All machine refusals are `400`.

| Code                                                                  | Cause                                                                           | What to do                                                |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------- | --------------------------------------------------------- |
| `E-LEADER-NOWHERE`                                                    | an evacuate or drain, and no other node can hold a leader on this one           | uncordon a node, or lift an `opod.io/leaders=avoid` fence |
| `E-DRAIN-CONFIRM`                                                     | the drain's confirmation no longer matches the foreign pods on the node         | read the preview again and send its `confirm` token       |
| `E-NODE-READY`                                                        | removing a node that is still Ready                                             | cordon and evacuate it instead                            |
| `E-NODE-HOLDS-OURS`                                                   | removing a node that still runs our pods                                        | evacuate it first                                         |
| `E-NODE-UNKNOWN` †                                                    | a sharing switch for a node that does not exist                                 | check the name                                            |
| `E-SHARING-VENDOR` †, `E-SHARING-BUSY` †                              | time-slicing a non-NVIDIA node; a node that holds what the switch takes away    | evacuate our workers first                                |
| `E-CARD-NOT-OUTSIDE` †, `E-CARD-BUSY` †, `E-CARD-RESET-UNSUPPORTED` † | resetting a card of ours; a card with any process on it; a vendor without reset | stop the card through its endpoint, or stop the processes |
| `E-CACHE-GC-OFF`                                                      | a cache prune while cache GC is turned off (`cache.gc.mode=off`)                | turn cache GC on                                          |

## Generic codes

Outside the `E-…` codes, the `code` field is one of these:

| `code`                  | Status | Meaning                                                                         |
| ----------------------- | ------ | ------------------------------------------------------------------------------- |
| `invalid`               | 400    | a request or plan the control plane refuses                                     |
| `unauthorized`          | 401    | no credential, or one that is unknown                                           |
| `credential_in_url`     | 401    | a token in a URL                                                                |
| `ticket_refused`        | 401    | an unknown, expired or spent stream ticket                                      |
| `forbidden`             | 403    | the role does not allow the action                                              |
| `not_found`             | 404    | no such object, or no such API route                                            |
| `conflict`              | 409    | the object changed, already exists, or is not in a state that takes the request |
| `not_fleet`, `not_cell` | 409    | a fleet route on a cell, or a cell route on a fleet control plane               |
| `rate_limited`          | 429    | too many attempts; the sentence says when to retry                              |
| `upstream`              | 502    | the OIDC issuer did not answer                                                  |
| `unavailable`           | 503    | no state store, so a stream ticket cannot be minted                             |
| `internal`              | 500    | anything else; the control plane logs it                                        |

The OpenAI-compatible routes `/v1/files` and `/v1/batches` answer OpenAI's body, `{ "error": { "message", "type", "param", "code" } }`. `code` is `invalid_api_key` (401), `permission_denied` (403), `rate_limit_exceeded` (429), `invalid_request_error` (400), `not_found` (404), `batch_store_not_configured` (501) or `server_error` (500). `type` is `authentication_error`, `invalid_request_error` or `server_error`.
