error object:
{
"error": {
"message": "Invalid API key.",
"type": "invalid_request_error",
"code": "invalid_api_key",
"retryable": false,
"retry_after_s": null,
"request_id": "req_5dd569e1ce524fc4b1518e681c57e75a"
}
}
code.
type is a broad category, and param is present only when one request field is at fault.
message is for people and can change.
retryable says whether this same request may be sent again: the route’s own answer when it gives one, otherwise true for 408, 429 and 503.
retry_after_s repeats the Retry-After header in seconds, or is null.
request_id repeats the answer’s Request-Id header. Quote it when you report a problem.
See Versions and request ids.
Every route
| HTTP | Code | Meaning | What to do |
|---|---|---|---|
| 400 | unsupported_api_version | Abstract-Version names a version the route does not answer. POST /v1/get_action answers 2026-11-17 only. Nothing ran. | Send 2026-11-17, or leave the header out. With the Python client, upgrade abstract-client to 0.4.0 or later. |
| 401 | missing_api_key | The request has no Bearer key. | Send Authorization: Bearer with your key. |
| 401 | invalid_api_key | The key is wrong or revoked. | Fix or unset ABSTRACT_API_KEY if it is set; else run abstract logout --local, then abstract login. Do not retry the same key. |
| 402 | payment_required | The account has no payment method and no credit, or it asked for a deployment with sign-up credit alone. | Add a payment method or buy credit in Platform Billing. |
| 402 | insufficient_credit | The account has no payment method, and its credit cannot cover the request’s maximum cost. Nothing ran. | Add a payment method or buy credit in Platform Billing. |
| 402 | invoice_past_due | The saved card was declined for a usage invoice. Nothing ran. | Pay the invoice at the link in error.message, or update the card in Platform Billing. |
| 429 | spend_limit_exceeded | The request would cross the account’s monthly spend limit. Nothing ran. | Tell the account owner. Do not retry. |
| 429 | spend_blocked | A request this month cost more than it reserved, so the account accepts no new requests until the next calendar month. Nothing ran. | Tell the account owner. Do not retry before next month. |
| 429 | pass_limit_reached | The account’s Abstract Pass limit is used up, and extra usage is off or has no credit to draw on. Nothing ran. | Wait until error.resets_at, or buy credit in Platform Billing. |
| 429 | rate_limit_exceeded | Too many requests from this IP reached the edge admission limit. Nothing ran. | Wait for the Retry-After seconds, then retry the same request. |
| 503 | auth_unavailable | Key verification is down. | Retry with backoff. |
| 503 | billing_unavailable | Billing is down. | Retry with backoff. |
| 503 | metering_unavailable | Usage metering is down. Nothing ran. | Retry with backoff. |
| 503 | admission_unavailable | Edge admission is down. Nothing ran. | Retry with backoff. |
| 404 | not_found | The route does not exist. | Check the method and the path. |
Robot models
These codes come fromPOST /v1/get_action and POST /v1/end_session.
A robot error keeps its HTTP status and carries a status object beside the error object, with the same code:
{
"status": { "code": "model_overloaded", "reason": "…", "retryable": true, "retry_after_s": 1 },
"error": { "code": "model_overloaded", "message": "…", "retryable": true, "retry_after_s": 1 }
}
retryable, retry_after_s and request_id.
| HTTP | Code | Meaning | What to do |
|---|---|---|---|
| 400 | invalid_body | The request’s body has no observation object, or a JSON request is not a JSON object. | Send observation with the task as prompt; see Wire format. |
| 400 | invalid_binary_body | The body is not in the application/vnd.abstract.chunk format: a wrong magic, a header that is not JSON, a stream without seq, or sections that do not match the header. | Follow Wire format. |
| 400 | invalid_video | video is not an object, names a codec other than h264, holds a value that is not a positive integer, or has width without height. | Fix video, or leave it out; see Stream parameters. |
| 400 | model_missing | model is missing or empty. | Send a robot model id. |
| 400 | model_not_found | model is not a served robot model. | Use an id from Robot models. |
| 400 | invalid_prompt | observation.prompt is missing or empty. | Send the task instruction. |
| 400 | instruction_too_long | observation.prompt is over 512 characters. | Shorten the task instruction. |
| 400 | instruction_changed | The instruction differs from the session’s first request. | Keep the instruction, or start a new session. |
| 400 | invalid_image | A camera’s stream is missing, empty, sent twice or not one of the selected model’s cameras, a frame is empty, or a key under observation.video is not a camera. | Send one stream, or in a JSON request one clip, for each of the selected model’s cameras. |
| 400 | frame_count_mismatch | The cameras’ streams, or a JSON request’s clips, have different frame counts. | Send the same count for each camera. |
| 400 | image_count_mismatch | The frames per camera do not match the model and the session step, or a clip holds more frames than the model takes of a camera. | Send the frames per camera that the model’s table and next_frames_per_camera name. |
| 400 | unsupported_image_format | A frame is not H.264: a codec other than h264, a JPEG, no Annex B start code, observation.video in a chunk’s body, or a JSON request’s clip that is a JPEG, a list or not H.264. Nothing ran. | Send each frame as one H.264 access unit in its camera’s stream, or one MP4 clip per camera in a JSON request; see Frames. |
| 400 | invalid_clip | In a JSON request, a clip is not base64 of an MP4, holds no frame or more than one track, does not begin with a keyframe, or does not decode whole (B-frames). Nothing ran or is billed. | Send one MP4 per camera: one H.264 video track, first frame a keyframe, no B-frames. See JSON request. |
| 400 | invalid_image | The model cannot use a state value: a gripper outside 0 to 1, or a degenerate rotation. | Fix the value the message names. |
| 400 | state_shape_mismatch | observation.state has missing or unsupported fields for the selected model, or a value has the wrong length. | Send the fields required by the selected model; see Get action. |
| 400 | pose_unreachable | A grasp-site pose in observation.state is out of a YAM arm’s reach, on the YAM models except microsoft/rho. | Send each pose in its arm’s base frame, inside the YAM’s workspace. |
| 400 | invalid_session_id | session_id is not null or 1 to 128 printable characters. | Send the id the last answer carried, or null. |
| 400 | invalid_reset | reset is not a boolean. | Send true or false. |
| 400 | invalid_action_horizon | action_horizon is not a positive safe integer. | Send an integer from 1 to the model’s horizon, or omit it. |
| 400 | action_horizon_out_of_range | action_horizon is above the model’s rows per chunk. | Send a value in range, or omit it. |
| 400 | invalid_expected_step | Expected step is not a nonnegative integer. | Start at zero and advance only after accepting the previous result. |
| 400 | invalid_parameter | A field has the wrong type, such as a scaling that is not an object. | Fix the field param names. |
| 400 | invalid_scaling | The model does not support the scaling asked for: a seed on a model other than MolmoAct2 and π0.5. | Omit scaling, or send only what the model supports. |
| 400 | handoff_unavailable | handoff is true. | Omit handoff. |
| 408 | observation_expired | The observation waited more than one second for the model and was dropped. Nothing ran, and the session stays at its step. | Retry with fresh frames and a new observation_id. |
| 409 | idempotency_conflict | Observation id was used with different content. | Preserve the original id and payload for a retry. |
| 409 | session_step_conflict | The expected step differs from the next session step. | Resume from the error.next_step the answer carries, after reconciling the previous observation’s result. |
| 409 | observation_in_progress | The observation is still running. | Wait for Retry-After, then retry the same id and body. |
| 409/503 | observation_lost | The observation has no retrievable answer and will not execute again under this id. | Do not execute a missing chunk. Send the next observation under a new id; a step conflict names the step to resume from. |
| 409/503 | observation_outcome_unknown | The observation’s outcome is not known: it may still be running, or be lost. | Retry the same id only. Do not send a new id until the outcome is known. |
| 409 | keyframe_required | A camera’s stream could not be decoded whole: a frame out of order or damaged, or no keyframe to start from. error.cameras names the cameras. Nothing ran and nothing is billed. | Do not retry the same id: it returns the same refusal. Send the observation under a new id, those cameras’ streams beginning at a keyframe. See Keyframes. The Python client does this once. |
| 409 | session_busy | Another request for this session_id is still running. | Wait for it. Send one request per session at a time. |
| 410 | episode_reset | The chunk named an episode (episode.id) its engine does not hold. Nothing ran and nothing is billed. error.reason says why: worker_changed, episode_lost, model_swapped or session_resumed. | Do not retry it: the same request is refused again. Begin an episode with 1 frame per camera, expected_step: 0, a new observation_id and episode: {"reset": <reason>}. See Episode resets. |
| 410 | session_expired | The session expired or its state is gone. | Start a new session with a new session_id and 1 frame per camera. |
| 413 | image_too_large | A frame is over 262,144 bytes or 1280x720. In a JSON request, a clip is over 262,144 bytes for each frame the model takes plus 16,384, or its frames are over 64 MiB decoded. | Encode a smaller frame, or at a lower bitrate. The message names the size that fits. |
| 413 | request_too_large | The body is over 8 MiB. | Send fewer or smaller frames. |
| 415 | unsupported_media_type | The request’s Content-Type is neither application/vnd.abstract.chunk nor application/json. Nothing was read, held or run. | Send the wire format or a JSON request. With the Python client, upgrade abstract-client to 0.4.0 or later. |
| 429 | no_replica_free | No capacity is free to start a new session. | Wait for the Retry-After seconds, then retry. |
| 429 | model_overloaded | The model is already running an observation from your account, or its queue is full. Nothing ran, and the session stays at its step. | Wait for the Retry-After seconds, then retry with fresh frames and a new observation_id. |
| 500 | model_failure | The model failed. | Retry. If the next request returns 410, start a new session. |
| 502, 503 | engine_unavailable | The model service is unreachable. | Retry with backoff. |
| 503 | engine_starting | The model’s engine is still starting after an idle spell (error.phase, error.starting_s). It held the request as long as it could. Nothing ran. | Ask GET /v1/ready until it answers ready, then send the same request again. |
| 503 | model_loading | The model is starting after an idle spell. Nothing ran. | Wait for the Retry-After seconds, then send the same request again. |
| 503 | capacity | No GPU could be started for this model. Nothing ran. | Wait for the Retry-After seconds, then send the same request again. |
| 502 | engine_protocol_error | The model service answered no valid action chunk, finite targets or schedule. No chunk is billed. | Report the problem. Retrying under the same observation_id or Idempotency-Key returns the same refusal and does not run the model again. |
Deployments
These codes come from the deployment routes, and from an episode that runs on a deployment.| HTTP | Code | Meaning | What to do |
|---|---|---|---|
| 400 | deployment_unsupported | The model has no deployments. | Call the model with get_action. |
| 400 | invalid_deployment | name or robot is not lower-case letters, digits and hyphens. | Fix the field the message names. |
| 400 | invalid_idle_timeout | idle_timeout is not a duration from 1 minute to 24 hours, or never. | Send a value such as 30m. |
| 400 | invalid_checkpoint_uri | checkpoint_uri is not hf://<org>/<repo>@<commit>. | Name a Hugging Face model repository and the commit to serve. |
| 400 | invalid_checkpoint_options | options holds something other than norm_tag or policy_config, or a value that is not a short name. | Fix the option the message names. |
| 503 | hub_unavailable | The Hugging Face Hub could not be read, so nothing is known of the checkpoint. | Ask again. |
| 400 | checkpoint_requires_model | checkpoint_uri was sent without model. | Name the model whose lane runs the checkpoint. Inspecting it answers which. |
| 400 | checkpoint_not_servable | The checkpoint cannot be served. problems lists why. | Fix what the problems name, or inspect the checkpoint. |
| 400 | checkpoint_model_mismatch | The checkpoint runs on another model’s lane than the model sent. model in the error names it. | Send that model. |
| 400 | checkpoint_unavailable | Deploying your own checkpoint is turned off on this API. | Create the deployment without checkpoint_uri. |
| 404 | deployment_not_found | No deployment has this id in your account. | List your deployments to check the id. |
| 409 | deployment_exists | A deployment with this name exists with another model, checkpoint, robot or idle timeout. | Choose another name, or use the one that exists. |
| 409 | deployment_launching | The deployment is still launching. | Wait for the Retry-After seconds, then retry. |
| 409 | deployment_not_running | The deployment holds no GPU. state is idle, stopped or failed, and reason says why. | Start it again, then start a new episode. A restart is a new attempt and a new episode. |
| 409 | deployment_idle | The deployment is idle past its timeout, and the episode holds a ticket for a block of chunks that it has not used and that has not expired. | Send the next observation under that ticket. Once the ticket has expired, the deployment reads idle: start it again. |
| 409 | deployment_released | The deployment’s engine holds no GPU for this episode: the engine restarted, or the deployment was released a moment ago. | Read the deployment. If it is ready, start a new episode after a short wait; the API holds its GPU again within 2 minutes. Otherwise start it again. |
| 409 | idempotency_conflict | The Idempotency-Key of a create was used before with another model, checkpoint, robot or idle timeout. | Use a new key for a new request. |
| 409 | deployment_changed | The deployment changed while the request ran. | Wait for the Retry-After seconds, then retry. |
| 410 | episode_ended | The episode is over: the deployment’s model or checkpoint was swapped (reason is model_swapped) or it was restarted (restarted). | Start a new episode. The old one is never resumed. |
| 429 | deployment_limit | The account keeps 20 deployments, or 4 of them already hold a GPU. | Delete or stop one. |
| 429 | idle_budget_spent | Your account’s idle budget for the model is spent for the UTC day. No deployment of it can be created or started until the next day. | Call the model with get_action, or wait for the next UTC day. |
LLM models
These codes come fromPOST /v1/chat/completions and GET /v1/chat/completions/{id}.
| HTTP | Code | Meaning | What to do |
|---|---|---|---|
| 400 | use_get_action | model is a robot model id. Chat completions serves LLMs only. | Call POST /v1/get_action instead. |
| 422 | invalid_request | The body is not a JSON object, the model is unknown, a field is not supported, or an image_url is not a data: URL. | Fix the field the message names. See LLM chat completions. |
| 413 | invalid_request | The body is over 2 MiB. | Send a smaller input. |
| 422 | invalid_idempotency_key | Idempotency-Key breaks its format. | Send 1 to 200 characters from A-Z a-z 0-9 _ . / : -. |
| 409 | idempotency_conflict | The key was used with a different body. | Use a new key for a new request. |
| 409 | idempotency_replay_terminal | The earlier request with this key ended without an answer. | Use a new key to retry. |
| 409 | submission_outcome_unknown | The earlier request with this key may still be submitting. | Wait, then repeat with the same key. A new key can start a second job. |
| 429 | no_replica_free | Every replica serving the model is busy. Nothing was reserved. | Wait for the Retry-After seconds, then retry with the same Idempotency-Key. |
| 4xx | upstream_rejected | The model provider rejected the request. | Check the request fields. |
| 5xx | upstream_unavailable | No replica serves the model right now, or the model provider or the stored answer is unavailable. | Retry with the same Idempotency-Key, or retry the GET. |
| 502 | invalid_upstream_response | The provider answered something invalid. | Retry with the same Idempotency-Key, or retry the GET. |
| 502 | upstream_failed | The model did not complete the request. | Retry with a new Idempotency-Key. |
| 503 | unconfigured | LLM serving is unavailable. | Retry with backoff. |
| 422 | invalid_id | The completion id in the path breaks its format. | Use the id from the POST answer. |
| 404 | not_found | No completion with this id belongs to your account. | Use an id your account created. |
GET /v1/chat/completions/{id} reads a completion from a retired model back from its kept answer. One whose answer was never kept answers 404 not_found.
Limits
| Limit | Value |
|---|---|
Robot request body (POST /v1/get_action) | 8 MiB |
LLM request body (POST /v1/chat/completions) | 2 MiB |
| One frame, as an H.264 access unit | 262,144 bytes |
| Frame size | 1280x720 |
Robot observation.prompt | 512 characters |
| Robot frames per camera | 1–9 (21 for runway/praxis-1), as required by the selected model |
session_id | 128 characters |
observation_id | 128 characters |
| Idle session | 60 seconds |
max_completion_tokens | 65,536 |
Idempotency-Key | 200 characters |