# Errors

> Every error code, its cause and its fix.

## Reading an error

This reference lists the errors you can meet when calling models, using the console or running `shardio`. It includes background errors when Shardio forwards their codes to you, and leaves out errors it handles without showing you.

When Shardio refuses a request, the response carries an `error` object with a `message`, a `type` and a `code`. The `code` is the part to act on: find it below for what happened and what to do next.

A code reaches you in one of four ways, shown beside each code:

- as the HTTP response of an API call;
- as the last event of a streamed response, after it has already started, so it has no HTTP status of its own;
- as a message the `shardio` program prints on a machine you serve from, including a model's failed start;
- as a trial's `failure_reason` returned to its owner by `GET /console/host/nodes/{node_id}/trials`. A stored reason does not have its own HTTP error status.

**Activity** and a node's **Requests** list show why a request did not succeed as a failure reason: one of the codes in the last section, sometimes followed by a colon and a cause, such as `upstream_failed:node_lost`.

## Error codes

- `agent`: The HTTP response of an `/agent/v1` route, which the `shardio` CLI prints.
- `api`: The HTTP response of an inference route (`/v1/*`, `/openai/v1/*`).
- `cli`: A worker startup failure printed by `shardio up` or `shardio status --details/--json`.
- `stream`: The terminal `error` event of a streamed response. It arrives after the response has begun with HTTP 200, so it carries no HTTP status of its own.
- `trial`: The trial.failure_reason field returned to the owner by GET /console/host/nodes/{node_id}/trials. This is a stored reason, not an HTTP error.

### `account_suspended`: Account suspended

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 403 | `invalid_request_error` |

Your Shardio account is suspended, so its machines cannot reach Shardio. Contact Shardio support; there is nothing to fix on the machine.

### `adopt_requires_legacy`: This machine cannot replace the saved one

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio cannot use this machine to replace the one saved for this node. Keep your saved settings and follow [the recovery steps](/serve/node-setup/#link-to-account) to set it up again. Contact support if you need help keeping the node's history.

### `automation_authorization_changed`: The trial approval changed

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The consent or approval saved for this trial no longer matches the current approval. Shardio stopped the trial. Contact support if the node does not return to serving.

### `automation_authorization_invalid`: The trial approval could not be read

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not read the approval saved for this trial, so it stopped the work. Contact support if the node does not return to serving.

### `automation_cohort_unknown`: The machine setup is not approved for trials

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not confirm the node's hardware group for this trial. Contact support if you want to run trials on this node.

### `automation_owner_changed`: The node owner changed

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The node no longer belongs to the account that approved this trial, so Shardio stopped the work. Check that you are using the intended account and contact support if the node stays stopped.

### `automation_rollout_required`: This machine setup needs trial approval

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio has not approved automatic trials for this hardware group, or has withdrawn that approval. Accepting the terms alone does not enable trials. Contact support about availability.

### `automation_target_changed`: The trial no longer matches the node

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The node or the automatic work changed after this trial was approved. Shardio stopped the trial. Contact support if the node does not return to serving.

### `automation_terms_required`: Accept the terms before running trials

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not confirm the node owner's acceptance of the current terms for automatic trials. Review and accept them in the console if you want trials; hardware approval is also required.

### `balance_busy`: Account busy settling

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |

Too many requests on your account were being settled at the same moment, so this one was turned away before it ran. Nothing was billed. Retry after the delay in the `Retry-After` header, one second.

### `calibration_pair_ineligible`: The model could not be measured

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The trial's models no longer have the matching setup needed for measurement. Shardio stopped the trial. Contact support if the node does not return to serving.

### `calibration_window_active`: Node is calibrating

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The node is being calibrated, so it cannot be resumed or have a model restarted until the calibration ends. Wait for it to finish, as [`shardio status`](/reference/cli/#status) shows, or end it now with `shardio calibrate --stop`; the node then serves again with the figures it had.

### `capacity_exhausted`: Every node is busy

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |
| `stream` | — | `rate_limit_error` |

The model could not finish your request because its serving capacity was full. If the request was refused before a reply started, nothing ran and nothing was billed; retry after the delay in the `Retry-After` header, or choose another model. If a stream was cut off part-way, this is its final `error` event and the tokens you already received are billed. If you requested a whole response rather than a stream, the unfinished response is not delivered and nothing is billed.

### `capyctl_groups_unsupported`: Several-machine nodes cannot serve yet

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

A node made of several machines cannot serve models yet: each model runs on one machine for now. Serve from each machine as its own node, with its own [`shardio up`](/reference/cli/#up).

### `capyctl_unsupported`: Shardio is out of date

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

Shardio now serves only on machines that run its current engine manager, and this node runs an older version. Update Shardio: run [`shardio update`](/reference/cli/#update), then [`shardio up --detach`](/reference/cli/#up). If the install is too old to have `shardio update`, run `curl -fsSL https://get.shardio.ai/install.sh | sh` instead, then `shardio up --detach`. Leave a container-based node serving while the release downloads; do not run `shardio down` first. For older native/dev setups, follow `up`'s request to run `shardio down`, then `shardio up`. After the update, `shardio up` keeps the node's models; to choose other models, use **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `checkpoint_facts_unknown`: Model memory requirement not known

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

Shardio cannot work out the memory needed by one of the model setups you selected, so it was not added to this node. This is missing model information, not a measurement that your machine has too little memory.

Choose another model that fits in [Node setup](/serve/node-setup/), or report the error to Shardio so the model information can be completed. Retrying the same selection or freeing memory does not supply the missing information.

### `combination_no_usable_members`: The recommended models cannot run on this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

None of the models in the recommended combination can run on this node with its current settings. Nothing changed. Run [`shardio models`](/reference/cli/#models) to see which models fit, then choose them yourself with [`shardio models set`](/reference/cli/#models-set).

### `combination_trial_active`: A model check is running

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The node is trying a model combination. Wait for that check to finish, or stop it using the control that started it, before pausing or resuming a recipe.

### `composite_distribution_unsupported`: Model cannot be shared across machines

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model downloads its weights from Hugging Face, and a node of several machines cannot share weights from there yet. Choose a different setup of the model, one Shardio stores itself: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `context_length_exceeded`: Input too long for the model

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

Your input plus the output you asked for (`max_tokens`) does not fit the model's context length. The message, and the `context_limit`, `prompt_tokens` and `max_tokens` fields, give the numbers when Shardio knows them. Shorten your input or lower `max_tokens`; nothing was billed.

The published context length follows the nodes serving the model, so it can change. If a node serving longer requests leaves, requests that fit the recently published length get a temporary 503 while that change reaches members. After that wait, a 400 quotes the current context length. Check the model's latest context length before retrying.

### `deadline_exceeded`: Engine request deadline exceeded

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 504 | `server_error` |
| `stream` | — | `server_error` |

The engine did not finish within the request deadline. Before the response starts, this is HTTP 504. An open stream ends with this error instead of a finish or `[DONE]`. The request is marked failed. The engine may still be cancelling or settling work. The gateway sends `x-should-retry: false` on HTTP 504 and no `Retry-After`; the OpenAI Python SDK honors this retry opt-out. Disable automatic retries in clients that do not honor it. Node retryability is not exposed. A request that delivered no output is not billed.

### `dispatch_unavailable`: Shardio could not reach the mesh

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 502 | `server_error` |
| `api` | 503 | `server_error` |
| `stream` | — | `server_error` |
| `trial` | — | `failure_reason` |

Shardio could not reach the part of its platform that sends work to nodes. On an API call nothing ran and nothing was billed, so retry shortly; a stream that had already started ends with this as its final `error` event. From `shardio`, the change to your node (pausing, resuming, or the models it serves) was not applied, so run the command again.

### `draft_distribution_unsupported`: Helper model not supported yet

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model uses a small helper model to speed up replies, and that helper downloads from Hugging Face, which nodes cannot do yet. Choose a different setup of the model: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `draft_on_shard`: Setup needs a single machine

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model uses a small helper model to speed up replies, and that only works on a node of one machine. Choose a different setup for this node: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `engine_env_unsupported`: Shardio too old for this model

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This recipe needs a newer version of Shardio than the one on at least one of the node's machines. The message names the recipes. Update Shardio: run [`shardio update`](/reference/cli/#update), then [`shardio up --detach`](/reference/cli/#up). If the install is too old to have `shardio update`, run `curl -fsSL https://get.shardio.ai/install.sh | sh` instead, then `shardio up --detach`. Leave a container-based node serving while the release downloads; do not run `shardio down` first. For older native/dev setups, follow `up`'s request to run `shardio down`, then `shardio up`. After the update, `shardio up` keeps the node's models; to choose other models or a different recipe, use **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/c…

### `engine_memory_insufficient`: Model too large for this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

The model or set of models you chose needs more GPU memory than this node can give them, so nothing changed. The message says how much memory they need and how much the node can give them. Choose fewer models or ones that fit with [`shardio models set`](/reference/cli/#models-set); [`shardio models`](/reference/cli/#models) shows which ones fit.

### `engine_version_unsupported`: Shardio cannot run this model

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

The node's Shardio software does not have the model server version this recipe needs; the message names the version it needs and the version Shardio runs. If it needs a newer one, update Shardio: run [`shardio update`](/reference/cli/#update), then [`shardio up --detach`](/reference/cli/#up). If the install is too old to have `shardio update`, run `curl -fsSL https://get.shardio.ai/install.sh | sh` instead, then `shardio up --detach`. Leave a container-based node serving while the release downloads; do not run `shardio down` first. For older native/dev setups, follow `up`'s request to run `shardio down`, then `shardio up`. Otherwise choose another recipe with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `feature_unavailable`: Not turned on for your account

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 403 | `permission_error` |
| `api` | 403 | `permission_error` |
| `trial` | — | `failure_reason` |

This feature is not turned on for your account. The response names it in `feature`, your effective access in `state`, and the explanation page in `where`. Inference governs new model calls, Hosting governs new machines and serving, and Payouts governs new withdrawals and earnings transfers. Postpaid governs new activations by an operator, not existing billing or debt.

Where requesting access is offered, you can ask from the feature's console page and check the decision there. We email you when approval turns access on; refusals do not send an email. If access is denied without a retry date, contact Shardio support. You can still read history, cancel instructions and receive money already owed.

### `fingerprint_in_use`: Machine enrolled elsewhere

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

This machine is already enrolled in a different Shardio account, so it cannot join yours. Shardio does not say which account, to protect it. If the machine is yours, contact Shardio support.

### `fingerprint_mismatch`: This machine does not match its saved settings

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

Shardio could not match this machine's hardware to its saved sign-in details. [`shardio check`](/reference/cli/#check) lists GPU names and memory, but does not establish the complete GPU UUID and PCI inventory needed to enrol. Keep your saved settings and follow [the recovery steps](/serve/node-setup/#link-to-account) before signing in again.

### `fingerprint_required`: Machine identity missing

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The request to enrol this machine did not say which machine it is. Use the official `shardio` release and run [`shardio up`](/reference/cli/#up) again; it reads the identity from the GPUs, or from `/etc/machine-id` when no GPU can be read.

### `grant_invalid`: Approval no longer valid

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 401 | `invalid_request_error` |

The approval this machine tried to use is unknown, has expired, or was already used. Approval codes last ten minutes. Run [`shardio auth login`](/reference/cli/#auth-login) again and approve the new code; [`shardio up`](/reference/cli/#up) asks for a new one on its own.

### `hold_exceeds_balance`: Not enough credits for this request

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 402 | `insufficient_credits` |

Before a request runs, Shardio sets aside the most it could cost, sized from `max_tokens`, and that is more than your balance. The `required_micro` and `available_micro` fields give both amounts in millionths of a US dollar. Lower `max_tokens` or add credits in your [Wallet](/account/wallet/); nothing was billed.

### `image_detail_unsupported`: Image detail level not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

The image part asks for a `detail` level other than `auto`. Leave `detail` out, or send `auto`. Nothing was billed.

### `image_format_unsupported`: Image format not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

The image format or colour space is not supported. Shardio accepts PNG (`image/png`) and RGB or grayscale JPEG (`image/jpeg`) images only (`image/jpg` and CMYK/YCCK JPEGs are refused). Accepted JPEGs are decoded to 8-bit RGB and re-encoded as baseline JFIF with metadata removed. Convert the image to PNG or RGB/grayscale JPEG and send the request again. Nothing was billed.

### `image_input_unsupported`: Image input not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

This model does not accept images on Shardio. No model does yet: image input is coming soon. Send the request with text parts only. Nothing was billed.

### `image_limit_exceeded`: Image limit exceeded

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 413 | `invalid_request_error` |

The images in the request exceed Shardio's size or dimension limits. A request may carry up to 6 MiB of decoded image bytes (both as received and after baseline JFIF re-encoding for JPEGs) and 8,388,608 pixels in total across all images, with each image's sides between 32 and 4,096 pixels and aspect ratio at most 32:1; the message names the limit that was passed. Send fewer or smaller images. Nothing was billed.

### `image_source_unsupported`: Image source not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

The image is given as a link. Shardio accepts an image only inside the request, as a base64 `data:image/png` or `data:image/jpeg` URL, and never fetches a remote address. Send the image bytes that way. Nothing was billed.

### `insufficient_credits`: Out of credits

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 402 | `insufficient_credits` |

Your balance is empty, so no request can run. Add credits in your [Wallet](/account/wallet/) and try again; nothing was billed.

### `insufficient_disk`: Not enough disk space for model weights

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The machine could not download or unpack a model while keeping enough disk space for the system. Make room on the weights disk or choose a smaller model, then run `shardio up` on the machine. If this stopped a trial, contact support if your selected models do not return to serving.

### `invalid_api_key`: Invalid API key

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 401 | `invalid_request_error` |

The request had no API key, or its key is malformed, revoked, or belongs to an account that is not active. Send a live key in the header as `Authorization: Bearer <key>`. Your keys are on the [Keys](/use/keys/) screen.

### `invalid_cursor`: Invalid page cursor

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `api` | 400 | `invalid_request_error` |

The cursor for the next page is malformed. For the usage export, pass `next_cursor` from the preceding response unchanged, with the same `period`; for a node's requests, pass it unchanged with the same window and filters. Omit `cursor` to start from the first page. A null `next_cursor` means there are no more pages.

### `invalid_host_token`: Sign in to this machine again

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 401 | `invalid_request_error` |

Shardio could not accept this machine's saved sign-in details. Run [`shardio auth login`](/reference/cli/#auth-login) in a terminal and read the confirmation before replacing them. Keep your saved settings and follow [the recovery steps](/serve/node-setup/#link-to-account) if signing in does not resolve it.

### `invalid_image`: Invalid image

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

An image in the request could not be accepted: it is not a valid PNG or baseline/progressive Huffman JPEG, it carries an ambiguous Adobe header, it is animated or carries a second embedded image, it sits on a turn other than a user turn, or the request's text contains a reserved image marker. Accepted JPEGs are re-encoded as baseline JFIF with metadata removed before reaching a node. The `param` field names the part. Fix that part and send the request again. Nothing was billed.

### `invalid_limit`: Invalid usage page size

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

The usage export `limit` must be an integer from 1 through 200. Omit it to request the default page size of 200. Follow `next_cursor` to read subsequent pages.

### `invalid_period`: Invalid usage month

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

The usage export `period` must name a valid UTC calendar month in `YYYY-MM` form, for example `2026-10`. Omit it to read the current UTC month. This parameter selects a month, not a date range.

### `invalid_schedule`: Hours not understood

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The node's hours could not be read. Use `always`, `nights`, `weekdays`, `weekends`, or a cron line of five fields (minute hour day month weekday) made of numbers, ranges like `9-17` and lists like `1,3,5`; steps such as `*/15` are not accepted. The message names the part that is wrong. See [`shardio schedule`](/reference/cli/#schedule).

### `invalid_time_zone`: Time zone not recognised

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The time zone is not one Shardio recognises. Use a time zone name such as `Europe/Lisbon` or `America/New_York` with `shardio schedule --tz`.

### `invalid_window`: Invalid time window

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 422 | `invalid_request_error` |

The time window for a node's requests is not one Shardio can read; the message says why. Pass either `period`, a UTC calendar month in `YYYY-MM` form, or `since` and `until`, not both. `since` and `until` need a timezone offset, `since` must be before `until`, and the window may span at most 93 days. Omit all three to read the last 30 days.

### `key_budget_exhausted`: Key spend cap reached

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 402 | `insufficient_credits` |

This key's spend cap does not have room for the request's largest possible cost, sized from `max_tokens`. Your balance is untouched, so adding credits will not help: raise the key's [spend cap](/use/keys/#spend-cap), wait for the reset time in `reset_at`, lower `max_tokens`, or use another key. Nothing was billed.

### `link_address_missing`: Machine has no link address

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

One of the node's machines has no address on the private network that links the node's machines; the message names it. Run `shardio setup --link-address <address>` on that machine, then [`shardio up`](/reference/cli/#up).

### `link_address_not_private`: Link address is not private

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The link address you gave is not a private network address. Give this machine's address on the private network that links the node's machines, such as `10.0.0.2` or `192.168.1.20`, with `shardio setup --link-address`.

### `link_bandwidth_unmeasured`: Setup needs a measured link

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model asks for a link speed between machines that Shardio does not measure, so it cannot run on a node of several machines. Choose a different setup for this node: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `link_change_after_freeze`: Link addresses are fixed

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The node has all the machines it expects, so their link addresses can no longer change. On the console's node page, remove a machine that is **not the node's first machine**, or run [`shardio node remove --machine NAME`](/reference/cli/#node-remove) from the first machine, naming that other machine. Removing the first machine removes the whole node, detaches its other machines and clears its model selection. While the node is incomplete, change the address on a still-enrolled machine with `shardio setup --link-address ADDRESS`. For the removed machine, change `link_address` in its `node.yaml` before running `shardio auth login` and `shardio up` to rejoin.

### `link_not_same_subnet`: Link address on another network

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The link address you gave is not on the same network as the node's other machines. Give this machine's address on the network they share, with `shardio setup --link-address`.

### `link_prefix_invalid`: Network prefix not valid

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The network prefix found for this link address is not valid for it. Check the address and the network settings of the interface that carries it, then try again with `shardio setup --link-address`.

### `machine_class_mismatch`: Machine does not match the node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

Every machine in a node has the same GPU class, and this machine's differs from the node's; the message names both. Join a node whose machines have this machine's GPU, or make this machine a node of its own.

### `machine_class_unknown`: GPU class unknown

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

Shardio does not know which GPU class this node has, so it cannot choose a setup of the model for it. Run [`shardio check`](/reference/cli/#check), then [`shardio up`](/reference/cli/#up) so the machine reports its hardware again. If it keeps happening, contact Shardio support.

### `machine_identity_in_use`: Machine sign-in is still in use

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio has a recent report for this machine on your account, so it did not replace the saved sign-in details. If you are reinstalling Shardio, stop the old copy with [`shardio down`](/reference/cli/#down), wait a few minutes and try again. If you are setting up a different machine, follow [the recovery steps](/serve/node-setup/#link-to-account) or contact support.

### `machine_name_taken`: Machine name taken

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The node already has a machine with this name. Choose another name with `shardio setup --machine`, or answer the question again when `shardio up` asks.

### `machine_not_found`: Machine not found

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `agent` | 404 | `invalid_request_error` |

Shardio has no machine with that name or id in this node, or it belongs to another account. Check the machines with [`shardio status --details`](/reference/cli/#status) and try again with one it lists.

### `machine_revoked`: Machine was removed

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 403 | `invalid_request_error` |

This machine was removed from the node, so it cannot make this change. Run [`shardio auth login`](/reference/cli/#auth-login) in a terminal to enrol it again. Its confirmation defaults to yes if this is still the same machine; read it before accepting. Keep your saved settings and follow [the recovery steps](/serve/node-setup/#link-to-account) if signing in does not resolve it.

### `model_busy`: Model busy

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |

The model is serving as many requests as its nodes were measured to handle. Nothing ran and nothing was billed; retry after the delay in the `Retry-After` header.

### `model_does_not_fit`: Model too large for this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

A model you chose needs more memory than this node has; the message names it. Nothing changed on the node. Choose models that fit with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set); [`shardio models`](/reference/cli/#models) shows which ones fit.

### `model_not_available`: Model coming soon

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 404 | `invalid_request_error` |

This model is listed as coming soon and cannot be called yet. Nothing was billed. Choose a model that is available now.

### `model_not_found`: Model not found

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 404 | `invalid_request_error` |

No model with this name is available to your account on this route. Check the `model` value against `GET /v1/models`, and use the route that matches the model: `/v1/embeddings` for an embedding model, `/v1/decisions` for a decision model. Nothing was billed.

### `model_not_on_node`: Model not on this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The node does not serve the model you asked to restart. Run [`shardio status`](/reference/cli/#status) to see the models it serves, and name one of them with `shardio restart --model`.

### `model_or_build`: Name one model

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

A restart needs exactly one model, named by the model id [`shardio status`](/reference/cli/#status) shows beside its name. Run [`shardio restart`](/reference/cli/#restart) again and name it with `--model`, or pick it when asked.

### `no_builds_selected`: No models chosen

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

You asked the node to serve no models at all. Choose at least one model; to stop serving for a while, pause the node with [`shardio pause`](/reference/cli/#pause) instead.

### `no_calibration`: No calibration to stop

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

`shardio calibrate --stop` found no calibration running or waiting to start on this node, so there was nothing to stop. Nothing changed.

### `no_capacity`: No node available

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 503 | `server_error` |
| `stream` | — | `server_error` |

No node could take the request in time. Nothing was billed; retry shortly. A stream that had already started ends with this as its final `error` event, and the tokens already delivered are billed.

### `no_model_fits`: No recommended model fits this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

You asked for the recommended models, and no model in the catalog fits this node. Nothing changed on the node. Run [`shardio models`](/reference/cli/#models) to see each model's fit and the reason it does not fit, and check that the node reports its GPU memory correctly with [`shardio status --details`](/reference/cli/#status).

### `no_quality_qualified_combination`: No tested model setup meets the quality requirements

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio could not choose a tested model setup that meets its quality requirements, so your current selection was kept. Choose models yourself, or contact support if you need help.

### `node_frozen`: Node size is fixed

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The number of machines this node expects can change only when its first machine is the only machine left. From that first machine, run [`shardio node remove --machine NAME`](/reference/cli/#node-remove) for each other machine, or remove them on the console's node page. Name only a machine that is **not the node's first machine**. Removing the first machine removes the whole node, detaches its other machines and clears its model selection. Once only the first machine remains, run `shardio setup --expect-machines COUNT` there to set the new size.

### `node_name_taken`: Node name taken

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

You already have a node with this name. If you are enrolling this machine, type a different name at the retry prompt; pressing Enter keeps the taken name. If the machine is already enrolled, run [`shardio setup --node NAME`](/reference/cli/#setup) on the node's first machine with a different name.

### `node_not_found`: Node not found

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 404 | `invalid_request_error` |

Shardio has no node with that name or id in your account. Check the name or id in the console's Nodes screen or with [`shardio status`](/reference/cli/#status), and try again.

### `node_quarantined`: Node held for review

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio has stopped sending work to this node while it looks into a problem with it, so it cannot be resumed and its models cannot be restarted. Contact Shardio support; there is nothing to run on the machine.

### `node_ready`: Node already complete

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The node already has every machine it expects, so another machine cannot join it. Join another node or make this machine a node of its own. To replace a machine in the full node, remove a machine that is **not the node's first machine** on the console's node page, or run [`shardio node remove --machine NAME`](/reference/cli/#node-remove) from the target node's first machine. Do not run it from the machine whose join was refused. Removing the first machine removes the whole node, detaches its other machines and clears its model selection.

### `node_too_large`: Too many machines

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

The number of machines you asked the node to expect is outside what Shardio allows; the message gives the range. Run `shardio setup --expect-machines` with a number in that range.

### `one_recipe_per_model`: Choose one setup per model

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

You chose more than one setup for the same model. A node can run only one setup of a model at a time, so nothing changed. Choose one setup for each model with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `owned_campaign_expired`: The trial approval expired

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio cannot start or continue this trial because its approval has expired. Contact support if your node does not return to serving.

### `owned_campaign_node_not_found`: The trial node was not found

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not find the node named for this trial. Contact support if you see this error.

### `owned_campaign_node_not_scoped`: This node is not approved for the trial

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

This trial was approved for other nodes, not this one. Contact support if you see this error.

### `owned_campaign_not_found`: The trial approval was not found

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not find the approval needed to start or continue this trial. Contact support if you see this error.

### `owned_campaign_not_started`: The trial approval is not active yet

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio cannot use this trial approval yet because its start time is still in the future. Contact support if you see this error.

### `owned_campaign_pin_changed`: The trial approval changed

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The trial's approval no longer matches the details saved for this work. Contact support if the node does not return to serving.

### `owned_campaign_pin_invalid`: The saved trial approval could not be read

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not read the approval saved for this trial, so it stopped the work. Contact support if the node does not return to serving.

### `owned_campaign_revoked`: The trial approval was withdrawn

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio has withdrawn approval for this trial, so it cannot start or continue. Contact support if your node does not return to serving.

### `owned_campaign_scope_changed`: The node changed during the trial

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The node no longer matches the setup approved for this trial. Contact support if your node does not return to serving.

### `parking_execution_mismatch`: The paused recipe has changed

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The recipe or its running software no longer matches the recipe you paused. Shardio keeps it out of traffic. Check the recipe and Shardio software details, then contact support before trying to resume it again.

### `parking_host_unsupported`: This machine cannot pause this recipe

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio has not confirmed the settings needed to pause this recipe safely. Read the reason beside the disabled control. Use the Shardio release required by your pilot, or contact support; stopping the recipe is not the same as pausing it.

### `parking_observation_stale`: The machine report is too old

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio cannot confirm the recipe’s current state. Wait for the machine to reconnect and check [`shardio status`](/reference/cli/#status), then try again. If Shardio is stopped, start it with [`shardio up`](/reference/cli/#up). Your recipe pause stays saved.

### `parking_original_execution_unknown`: The saved recipe identity is missing

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio cannot confirm which recipe to resume safely. It keeps the recipe out of traffic. Contact support rather than removing the saved pause or forcing a restart.

### `parking_protocol_missing`: Shardio needs recipe pause support

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio has not reported complete recipe pause support. Use the signed Shardio release required by your pilot, reconnect the machine and try again. Any existing recipe pause stays saved while support is unavailable.

### `parking_qualification_invalid`: The recipe’s pause proof is unavailable

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio cannot use this recipe’s pause proof, so pause is unavailable. Check the reason on the node page and contact support. The recipe is not unloaded instead.

### `parking_qualification_mismatch`: The recipe and Shardio version do not match

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The Shardio version or recipe differs from the combination checked for pausing. Pause is unavailable; the reason names what does not match. Use the qualified recipe and Shardio release required by your pilot, or contact support.

### `parking_recipe_not_serving`: The recipe is not serving yet

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

This recipe has not reached its serving state, so it cannot be paused yet. Check [`shardio status`](/reference/cli/#status) and wait for loading and initial checks to finish before trying again.

### `parking_recipe_unsupported`: This recipe cannot be paused

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

This recipe does not support the checked pause operation. Its pause control stays disabled with the reason. Choose a supported recipe if you need recipe pause; Shardio does not unload this one as a substitute.

### `parking_runtime_refused`: Shardio refused to pause

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The running engine refused pausing for this recipe. Read the reason on the node page and contact support. Shardio does not stop or unload the recipe instead.

### `parking_runtime_unknown`: The recipe’s state is unavailable

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio has not reported enough information about this recipe to change it safely. Wait for a fresh machine report and check [`shardio status`](/reference/cli/#status), then try again. A missing report does not mean the recipe is paused or its memory is free.

### `parking_single_machine_required`: Recipe pause needs one machine

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Recipe pause is supported only on qualified single-machine pilot nodes. It is unavailable on a node made from several machines. Whole-node pause still stops new traffic but keeps models loaded.

### `platform_unsupported`: Model does not run on this GPU

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This node's GPU cannot run the setup of the model you chose; the message says what the setup needs. Choose a setup this GPU supports: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `pp_shard_mismatch`: Setup made for another node size

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model is made for a different number of machines than this node has; the message gives both. Choose a setup made for this node's size: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `rate_limit_requests`: Requests-per-minute limit

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |

Your key sent more requests this minute than its limit allows; calls to `GET /v1/models` count too. Nothing was billed. Wait for the next minute, as the `Retry-After` header says, and spread your requests out.

### `rate_limit_sku_capacity`: Model at its request limit

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |

The model is running as many requests at once as Shardio allows for it across all nodes. Nothing ran and nothing was billed; retry after the delay in the `Retry-After` header, one second.

### `rate_limit_streams`: Too many requests at once

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |

Your key already has as many requests running at the same time as its limit allows. Nothing was billed. Retry after the delay in the `Retry-After` header, one second, or send fewer requests in parallel.

### `rate_limit_tokens`: Tokens-per-minute limit

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 429 | `rate_limit_error` |

Your key has already used its tokens for this minute. Nothing was billed. Wait for the next minute, as the `Retry-After` header says, or ask for fewer tokens per request.

### `reasoning_effort_unsupported`: Thinking setting not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

The model does not support the thinking setting you sent, or two thinking controls in the request disagree. The request was refused before it ran and was not charged.

Check the error's `param` and `accepted` fields. Choose a supported setting, remove conflicting controls, or omit the controls to use the model's default. A model that requires thinking cannot accept Off; a model with no thinking controls cannot accept an explicit thinking setting.

See [Thinking](/use/playground-chat/#thinking) for the request forms and how to discover each model's choices. In the Playground, reload to get the model's current choices before trying again.

### `recipe_lifecycle_requires_resume`: Resume the recipe first

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

One of the model’s recipes is paused or still waiting for its resume check. Resume that exact recipe before restarting the model. The node page and [`shardio models list`](/reference/cli/#models-list) show which recipe needs attention.

### `recipe_not_on_node`: The recipe is not selected on this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 404 | `invalid_request_error` |

The exact recipe you named is not selected on this node. Run [`shardio models list`](/reference/cli/#models-list) to find its recipe id and check that you selected the intended node before trying again.

### `recipe_parking_disabled`: New recipe pauses are turned off

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The recipe pause pilot is not accepting new pauses. Existing recipe pauses stay saved, and supported resume remains available. Try again when the pilot is enabled; whole-node pause does not free model memory.

### `recipe_parking_outside_pilot`: This node is outside the recipe pause pilot

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

New recipe pauses are limited to invited pilot nodes. This node is not included. Existing saved pauses can still be resumed when Shardio supports resume. Contact support about pilot access.

### `redis_state_lost`: Requests temporarily stopped

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 503 | `server_error` |

Shardio temporarily stopped new requests because it could not verify that they could run safely. This request did not run and was not billed. Try again later.

### `registration_body_too_large`: Registration too large

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 413 | `invalid_request_error` |

The machine's registration is larger than Shardio accepts; the message gives the limit. This points to a damaged or modified copy of Shardio rather than to anything you chose. Run `shardio update`, then `shardio up` again.

### `registration_busy`: Node busy with another change

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 503 | `server_error` |

The node was busy with another change, such as a calibration finishing, when this machine tried to register. Your approval still stands. Run [`shardio up`](/reference/cli/#up) again in a few seconds.

### `registration_field_too_large`: Registration field too large

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |

One part of the machine's registration is longer than Shardio accepts; the message names it and its limit. If it is the node or machine name, choose a shorter one with `shardio setup`. For any other field, run `shardio update`, then `shardio up` again.

### `rendezvous_port_unavailable`: Node not ready to start

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

The machines of this node cannot start a model together until the node has all the machines it expects. Run [`shardio status --details`](/reference/cli/#status) to see which are missing, run [`shardio up`](/reference/cli/#up) on each of them, and the models start once the last one joins.

### `request_too_large`: Request too large

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 413 | `invalid_request_error` |

The request body is larger than Shardio accepts; the message gives the limit in bytes. A compressed body counts at its size once decompressed. Send a shorter request; nothing was billed.

### `requested_builds_retired`: Chosen models were withdrawn

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Every model this node was waiting to serve has been withdrawn from Shardio since you chose it. Choose the models again with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `response_format_unsupported`: Structured output not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

No serving recipe for this model supports the requested structured output, or the combination of structured output and tool calling. Choose a model that supports the requested combination, or remove the unsupported option. The request was refused before a balance hold or dispatch; nothing was billed.

### `runtime_unsupported`: Choose models yourself on this machine

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

Shardio cannot choose models automatically for this machine's software setup. Your current selection was kept. Run [`shardio models`](/reference/cli/#models) to see which models fit, then choose them with [`shardio models set`](/reference/cli/#models-set).

### `service_unavailable`: Service temporarily unavailable

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 503 | `server_error` |

Shardio could not reach a database or cache needed to accept the request safely. The request was not sent to a node or billed. Retry after the delay in `Retry-After` (currently one second). Adding credits or changing your input will not resolve this service outage. Contact Shardio support if it continues.

### `settlement_failed`: Usage not recorded

| Surface | HTTP status | Error type |
|---|---|---|
| `stream` | — | `server_error` |

Only the console's Playground sees this. The reply finished and is complete, but Shardio could not record its usage at that moment, so the summary of tokens and cost does not follow. Shardio settles the request later on its own, so you do not need to send it again.

### `speculative_unsupported_on_shard`: Setup needs a single machine

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model guesses ahead to speed up replies, and that does not work on a node of several machines. Choose a different setup for this node: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `stale_preview`: Models changed since you reviewed them

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

The node's models, or the models the change would choose, changed after the change was worked out and before it was applied: someone changed them from the console, or the recommendation moved. Nothing was applied. Run the command again, [`shardio models set`](/reference/cli/#models-set), [`shardio models add`](/reference/cli/#models-add) or [`shardio models remove`](/reference/cli/#models-remove), to work out the change from the node's models as they are now.

### `temporarily_unavailable`: Model temporarily unavailable

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 503 | `server_error` |

The model is listed, but no node can serve it right now. Nothing was billed. Try again later, or choose another model.

A request can also get this when no node serving the model can hold a request that long right now. For a short while after a longer context stops being served, requests that fit the recently published length get this retryable 503. The message and the `served_context` field give the longest request those nodes can take, with `prompt_tokens` and `max_tokens`. Try again later, or check the latest context length and shorten your input or lower `max_tokens`. An overlong request can later get `context_length_exceeded` (400) quoting the current length instead.

### `token_scope`: Run it on the first machine

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 403 | `invalid_request_error` |

On a node of several machines, this command speaks for the whole node, so only the node's first machine can run it: restarting a model, changing the node's hours or models, resuming, or removing the node. Run it on the first machine; [`shardio status --details`](/reference/cli/#status) lists the machines.

### `tools_unsupported`: Tool calling not supported

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 400 | `invalid_request_error` |

This model does not support tool calling. Send the request without `tools`, or choose a model that supports them: the Models screen tags them **Tools**. Nothing was billed.

### `topology_mismatch`: Setup does not fit this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 400 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model splits the model across machines in a way that does not match this node; the message gives the details. Choose a setup made for this node: choose another one with **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `trial_authorization_invalid`: The trial approval is unavailable

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not confirm the approval saved for this trial, so it stopped the work. Contact support if the node does not return to serving.

### `trial_controller_restarted`: Shardio restarted during the trial

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The service managing this trial restarted. Shardio stopped the trial and began restoring the node's selected models. Contact support if they do not return to serving.

### `trial_measurement_missing`: The trial measurement was not found

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not find the measurement needed to continue this trial. It stopped the trial. Contact support if the node does not return to serving.

### `trial_measurement_not_started`: The trial measurement did not start

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The trial's measurement did not start within the allowed time. Shardio stopped the trial. Contact support if the node does not return to serving.

### `trial_measurement_unqualified`: The trial did not pass its checks

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The trial ended without a complete passing measurement. Shardio is restoring your selected models. Contact support if they do not return to serving.

### `trial_node_quarantined`: Trials are stopped for this node

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio stopped the trial because this node is restricted from serving. Read the reason on the node page and contact support.

### `trial_opted_out`: Trials are turned off for this node

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The node's owner has turned trials off, so Shardio stopped the trial. Leave this setting off if that is what you want. Contact support if the node does not return to serving.

### `trial_owner_changed`: Your change interrupted the trial

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

A change to the node or its saved preferences interrupted the trial. Shardio keeps your newer choice instead of restoring over it. Check the node page for its current state.

### `trial_owner_window_closed`: The allowed trial hours ended

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The remaining trial no longer fits the node's availability or allowed trial hours. Shardio stopped the trial. Check those hours if you want future trials.

### `trial_recovery_deadline`: The node did not recover in time

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The trial reached its time limit before Shardio could restore the node's serving state. Read the node's status and contact support; another trial cannot start while recovery remains unfinished.

### `trial_refused`: Shardio stopped the trial

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio could not continue this trial. Read its status and the node page for more detail. Contact support if your selected models do not return to serving.

### `trial_restore_reserve_reached`: The trial reached its stopping time

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio stopped the trial to leave time to restore your selected models. No change is needed if they return to serving; contact support if they do not.

### `trial_startup_failed`: A trial model did not start

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

A model needed for the trial failed to start. Shardio stopped the trial and began restoring your selected models. Run `shardio logs` on the machine and contact support if they do not return to serving.

### `trial_supply_protected`: The mesh needs this node serving

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

Shardio stopped the trial to protect serving capacity for member requests. No change is needed if your selected models return to serving; contact support if they do not.

### `trial_window_too_short`: Not enough time remains for the measurement

| Surface | HTTP status | Error type |
|---|---|---|
| `trial` | — | `failure_reason` |

The trial no longer has enough time to finish its planned measurement and restore the node. Shardio stopped it. Contact support if your selected models do not return to serving.

### `unknown_build`: Model not offered

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 404 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

One or more of the models you chose are not offered any more, or not to your account; the message lists their ids. Choose again from the list [`shardio models`](/reference/cli/#models) shows, with [`shardio models set`](/reference/cli/#models-set) or **Change models** in the node's ⋮ menu.

### `unknown_model`: Model not offered to this node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 404 | `invalid_request_error` |

A model you named is not one this node can choose; the message lists which. Model IDs are the public ones [`shardio models`](/reference/cli/#models) lists. Run `shardio models` to see the models this node can serve, then choose again with [`shardio models set`](/reference/cli/#models-set).

### `unknown_node`: Node not found

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 404 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

Shardio has no such node, for example because it was removed. Run [`shardio status`](/reference/cli/#status) to check, and [`shardio up`](/reference/cli/#up) to set the machine up again if needed.

### `unsupported_content_encoding`: Unsupported compression

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 415 | `invalid_request_error` |

The request's `Content-Encoding` header names a compression Shardio does not read. Send the body compressed with `gzip` or `zstd`, or uncompressed (`identity`). Nothing was billed.

### `upstream_failed`: Node did not finish

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 502 | `server_error` |
| `stream` | — | `server_error` |

The node serving the request stopped before completing it. Nothing is billed for a response you did not receive; on a stream, the tokens already delivered are billed, and the stream ends with this as its final `error` event. Retry to get a full reply.

### `upstream_stall`: Node stopped sending tokens

| Surface | HTTP status | Error type |
|---|---|---|
| `api` | 502 | `server_error` |
| `stream` | — | `server_error` |

The node serving the request stopped sending tokens partway through, so the reply was cut off. On a stream, it arrives as the final `error` event after the tokens you already received, and those are billed; otherwise nothing is billed. Retry the request.

### `vacates_node`: Machine is in another node

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |

This machine belongs to another node now, and joining this one takes it out of that one; if that node is serving, it stops. To go ahead, run the command again with `--yes`, or set `vacate: true` in node.yaml.

### `weights_download_context_changed`: The model setup changed

| Surface | HTTP status | Error type |
|---|---|---|
| `cli` | — | `startup_failure` |

The node or model settings no longer match this download, so Shardio stopped it. Contact support if the model stays stopped.

### `weights_download_lease_lost`: The download was stopped

| Surface | HTTP status | Error type |
|---|---|---|
| `cli` | — | `startup_failure` |

Shardio stopped the download because its permission to continue expired or changed. Contact support if the model stays stopped.

### `weights_download_trial_changed`: The trial download no longer matches the node

| Surface | HTTP status | Error type |
|---|---|---|
| `cli` | — | `startup_failure` |

The node, its trial settings, or the trial itself changed, so Shardio stopped this download. Contact support if your node does not return to serving.

### `weights_download_trial_expired`: The trial download ran out of time

| Surface | HTTP status | Error type |
|---|---|---|
| `cli` | — | `startup_failure` |

The time allowed for this trial download has ended, so Shardio stopped it. Contact support if your node does not return to serving.

### `weights_download_trial_required`: The download does not match the trial

| Surface | HTTP status | Error type |
|---|---|---|
| `cli` | — | `startup_failure` |

Shardio refused a download because it was not linked to the trial running on this node. Contact support if the model stays stopped.

### `weights_hf_unsupported`: Shardio cannot download this model

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

The node's Shardio software is too old to download weights from Hugging Face, which this recipe needs. Update Shardio: run [`shardio update`](/reference/cli/#update), then [`shardio up --detach`](/reference/cli/#up). If the install is too old to have `shardio update`, run `curl -fsSL https://get.shardio.ai/install.sh | sh` instead, then `shardio up --detach`. Leave a container-based node serving while the release downloads; do not run `shardio down` first. For older native/dev setups, follow `up`'s request to run `shardio down`, then `shardio up`. After the update, `shardio up` keeps the node's models; to choose other models, use **Change models** in the node's ⋮ menu or [`shardio models set`](/reference/cli/#models-set).

### `weights_not_pinned`: Model not ready yet

| Surface | HTTP status | Error type |
|---|---|---|
| `agent` | 409 | `invalid_request_error` |
| `trial` | — | `failure_reason` |

This setup of the model is not ready to serve: Shardio has not finished preparing its weights. The message lists the setups. Choose another one, or try again later.

## Failure reasons in Activity

A failure reason in Activity's export and a node's Requests list.

### `balance_busy`: Account busy settling

Turned away before it ran, because too many requests on your account were being settled at the same moment. Nothing was billed. Retrying a second later usually works.

### `capacity_exhausted`: Every node was busy

The model could not finish the request because its serving capacity was full. A refusal before a reply started appears as **Mesh busy**: nothing ran and nothing was billed. If a stream was cut off part-way, the row reads failed and the tokens you already received are billed. If you requested a whole response rather than a stream, the unfinished response is not delivered and nothing is billed.

### `client_disconnect`: Client disconnected

Your client cancelled the request or closed the connection before the reply finished. On a stream, the tokens already delivered were billed; otherwise nothing was. On a node's Requests list the row reads **Cancelled**.

### `context_length_exceeded`: Input too long for the model

Your input plus the output asked for did not fit the model's context length, so the request was refused and nothing was billed. On a node's Requests list, the request reached the node and its model server found it too long; that is a fact about the request, not a fault of the node.

The model's published context length can fall when a node serving longer requests leaves. Requests that fit the recently published length first get a temporary refusal; once that wait has passed, this refusal quotes the current length. Check the model's latest context length, then shorten your input or lower `max_tokens`.

### `deadline_exceeded`: Node missed the deadline

The node serving the request did not finish it in the time allowed. A request that returned no reply is not billed; on a stream, the tokens you already received are. Do not resend it automatically: the node may still have been finishing the work when the deadline passed.

### `dispatch_unavailable`: Shardio could not reach the mesh

Shardio could not reach the part of its platform that sends work to nodes, so nothing ran and nothing was billed. The fault is Shardio's, not the node's or yours. A cause after the colon, when there is one, is what that part of the platform reported.

### `internal_error`: Error on Shardio's side

Shardio hit an error on its side that has no more specific reason. The fault is Shardio's, not the node's or yours. A request that returned no reply is not billed; on a stream, the tokens you already received are. Retry, and contact Shardio support if it keeps happening.

### `model_busy`: Model busy

The model was serving as many requests as its nodes were measured to handle, so this one was turned away before it ran. Nothing was billed.

### `no_capacity`: No node available

No node took the request before Shardio stopped waiting, so nothing ran and nothing was billed. With the cause `no_node`, no node serving the model was connected at all. The fault is Shardio's, not a node's.

### `rate_limit_requests`: Requests-per-minute limit

The key had already sent as many requests that minute as its limit allows, so this one was turned away before it ran. Nothing was billed.

### `rate_limit_sku_capacity`: Model at its request limit

The model was running as many requests at once as Shardio allows for it across all nodes, so this one was turned away before it ran. Activity shows it as **Mesh busy** and nothing was billed.

### `rate_limit_streams`: Too many requests at once

The key already had as many requests running at the same time as its limit allows, so this one was turned away before it ran. Nothing was billed.

### `rate_limit_tokens`: Tokens-per-minute limit

The key had already used its tokens for that minute, so this request was turned away before it ran. Nothing was billed.

### `redis_state_lost`: Request stopped safely

Shardio could not verify that this request could continue safely, so it stopped before generating a reply. Nothing was billed. This is a service error on Shardio's side, not a problem with your request or the node. Retry once service has recovered; contact Shardio support if it continues.

### `request_too_large`: Request too large

The request was larger than Shardio accepts, so it did not run and nothing was billed. It is a fact about the request, not a fault of the node.

### `service_unavailable`: Request stopped before running

A Shardio database or cache was unavailable while checking whether the request could run. The request was not sent to a node or billed. This is a service error on Shardio's side, not a problem with your request or the serving node. Retry shortly; contact Shardio support if it continues.

### `temporarily_unavailable`: Model temporarily unavailable

The model was listed, but no node could serve it at that moment, so the request was refused before it ran. Nothing was billed.

With the cause `context_tier_unavailable`, nodes may be serving the model, but none can hold a request that long right now. For a short while after a longer context stops being served, requests that fit the recently published length get a retryable 503. Retry later, or check the latest context length and shorten your input or lower `max_tokens`. An overlong request can later get `context_length_exceeded` (400) quoting the current length instead. Nothing was billed.

### `upstream_failed`: Node did not finish

The node serving the request stopped before completing it. A request that returned no reply is not billed; on a stream, the tokens you already received are. After the colon, the cause names what broke, such as `node_lost` (the node dropped off), `engine_error` or `engine_unreachable` (its model server failed), or `startup_timeout` (the model did not start in time). On a node's Requests list the row shows the code alone.

### `upstream_stall`: Node stopped sending tokens

The node stopped sending tokens partway through, so the reply was cut off. A request that returned no reply is not billed; on a stream, the tokens you already received are. After the colon, `silence` means nothing arrived for too long, `low_progress` that tokens came too slowly, `startup_timeout` that the first token took too long, and `downstream_timeout` that the client was not reading the stream.

### Causes

- `body_too_large`
- `cancelled`
- `context_tier_unavailable`
- `downstream_timeout`
- `engine_aborted`
- `engine_error`
- `engine_http`
- `engine_stream_error`
- `engine_unreachable`
- `failed`
- `hub_draining`
- `hub_lost`
- `incomplete`
- `lease_lost`
- `limit`
- `lost`
- `low_progress`
- `maintenance_drain`
- `missing_end`
- `no_node`
- `node_lost`
- `path_refused`
- `silence`
- `startup_timeout`
- `tool_call_malformed`
- `unknown_build`
- `unparseable`
