Skip to content

Errors

How the API reports errors, what each field means, and every error code.

On this page

Errors use RFC 9457 (opens in a new tab) problem details, with the content type application/problem+json.

An example

A request with a cursor the API didn't issue gets status 400, an X-Request-Id header, and this body (abridged):

JSON
{
  "status": 400,
  "code": "invalid_cursor",
  "title": "Bad Request",
  "detail": "The cursor is not one this API returned.",
  "instance": "/v1/rentals"
}

The fields

The fields
FieldWhat it is
codeA stable, machine-readable code. Branch on this.
statusThe HTTP status.
titleA short summary for people. It can change.
detailAn explanation for people. It can change.
typeA URI for the code.
instanceThe request path.
resource_idThe resource a conflict refers to, when there is one.

Some problems carry more. For example, 403 terms_not_accepted includes legal, the documents to accept.

Handle errors

  • Branch on code, never on title or detail.

  • Treat a code you don't know by its HTTP status.

  • On 429, wait for Retry-After seconds. See Rate limits.

  • On a 5xx, retry with backoff. For operations that take an Idempotency-Key, retry with the same key. See Idempotency.

  • Log the X-Request-Id header, and quote it when you contact support.

A resource that belongs to another organization answers 404 not_found, the same as one that doesn't exist.

Codes

Codes
CodeStatusReturned by
auto_backup_not_applicable400Rent GPUs on a host, Change a rental's settings
auto_pricing_on400Set a host's price and availability
auto_resume_not_applicable400Change a rental's settings
bid_not_applicable400Change a rental's settings
confirmation_mismatch400Remove a host
denied_range400Ask for a destination to be added to the allow-list
env_reserved400Rent GPUs on a host, Change a rental's settings, Create a service, Estimate what a service would cost, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
host_visibility_not_acknowledged400Create a service
image_outside_prefix400Save a registry credential, Rename a registry credential or replace its secret
image_private400, 422Rent GPUs on a host, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Inspect a container image before renting it
image_registry_mismatch400Save the organization's sign-in for a registry
interruption_behavior_not_allowed400Rent GPUs on a host
invalid_cidr400Set the destinations blocked for rentals on a host
invalid_command400Rent GPUs on a host, Change a rental's settings, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_country400Set a host's price and availability
invalid_cursor400List the organization's rentals, Read a rental's logs, A rental's backups, newest first, The organization's backups, newest first, Read a service's logs, every replica, List the organization's ledger entries, and 7 more
invalid_env400Rent GPUs on a host, Change a rental's settings, Create a service, Estimate what a service would cost, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_hardware400Create a service, Estimate what a service would cost, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_image_reference400Rent GPUs on a host, Inspect a container image before renting it, Save the organization's sign-in for a registry, Save a registry credential, Split an image reference into registry host and path prefix, Rename a registry credential or replace its secret
invalid_interruptible_price400Set a host's price and availability
invalid_label400Save an SSH public key
invalid_listing400Set a host's price and availability
invalid_logs_query400Read a rental's logs, Read a service's logs, every replica
invalid_maintenance_window400Schedule maintenance on one or many hosts, What scheduling maintenance would do, Move or change scheduled maintenance windows
invalid_min_price400Set a host's price and availability
invalid_model_setting400Rent GPUs on a host, Change a rental's settings, Create a service, Estimate what a service would cost, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_name400Rename a host
invalid_path_prefix400Save a registry credential
invalid_pattern400Ask for a destination to be added to the allow-list
invalid_range400The organization's earnings over a period, with the previous period, The organization's earnings over time, The organization's earnings by one dimension, What each of the organization's hosts earned and how it performed, One host's earnings, utilization, uptime and price against the market, The rentals on the organization's hosts that were billed in a period, and 6 more
invalid_registry_credential400Save a registry credential, Rename a registry credential or replace its secret
invalid_request400
invalid_scaling400Create a service, Estimate what a service would cost, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_serve400Rent GPUs on a host, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_service_name400Create a service
invalid_sign_in400Save the organization's sign-in for a registry
invalid_source400Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_spend_cap400Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invalid_ssh_key400Rent GPUs on a host, Change a rental's settings, Save an SSH public key
max_above_on_demand400Rent GPUs on a host, Change a rental's settings
not_a_member400Change whether a notification is emailed, and to whom
override_not_allowed400Rent GPUs on a host, Change a rental's settings, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
pattern_too_broad400Ask for a destination to be added to the allow-list
price_required400Set a host's price and availability
private_key_refused400Rent GPUs on a host, Change a rental's settings, Save an SSH public key
registry_sign_in_rejected400, 422Rent GPUs on a host, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Inspect a container image before renting it, Save the organization's sign-in for a registry
resume_after_maintenance_not_applicable400Change a rental's settings
selected_members_required400Change whether a notification is emailed, and to whom
service_kind_unsupported400Create a service
unauthorized401
insufficient_credit402Rent GPUs on a host, Delete a rental and its workspace, Stop a rental, Make a single-use download link for a ready workspace export, Back up a stopped or failed rental's workspace, Mint a download link for a ready backup, and 1 more
access_not_approved403
account_conflict403
api_key_required403
api_key_scope403
catalog_entry_disabled403Rent GPUs on a host
custom_images_disabled403Rent GPUs on a host, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
domain_not_allowed403
email_unverified403
forbidden403
no_organization403Search GPU offers, Get one offer with its score breakdown and uptime history, List the caller's offer alerts, Be emailed once when a matching machine is available, Get one offer alert, Rename, re-arm or change the expiry of an offer alert, and 140 more
not_a_provider403Get the organization's payout setup
oauth_token_mcp_only403
org_suspended403
owner_required403Change whether a notification is emailed, and to whom
promo_code_not_eligible403Top up the organization's balance, Redeem a promo code
requests_disabled403Ask for a destination to be added to the allow-list
service_unavailable403Create a service
session_required403
step_up_required403Create a service, Delete a service, Create a service key, Rotate a service key
terminal_access_forbidden403Change a rental's settings, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
terms_not_accepted403
web_app_required403Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Delete a service, Pause a service, Resume a paused service, Create a service key, and 2 more
host_not_offered404Rent GPUs on a host
not_found404
promo_code_not_found404Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
replica_not_found404A service's inference metrics, Read a service's logs, every replica
serve_not_configured404How to reach the model a rental serves, Create the rental's model service if it has none
method_not_allowed405What GPUs can be rented now, and from what price (public)
alert_limit_reached409Be emailed once when a matching machine is available, Rename, re-arm or change the expiry of an offer alert
alert_not_active409Rename, re-arm or change the expiry of an offer alert
already_member409Invite a person to the organization, Email an invitation again
auto_pricing_disabled409Set a host's price and availability
backup_in_progress409Delete a rental and its workspace, Restart a stopped rental, Back up a stopped or failed rental's workspace
backup_not_cancellable409Cancel a queued or uploading backup
backup_not_ready409Delete a ready backup early, Mint a download link for a ready backup
backup_too_slow409Back up a stopped or failed rental's workspace
bid_below_floor409Change a rental's settings
bid_cancelled409Change a rental's settings
bid_too_low409Rent GPUs on a host, Change a rental's settings
catalog_entry_incompatible409Rent GPUs on a host
egress_already_allowed409Ask for a destination to be added to the allow-list
egress_mode_set_by_admin409Hold the organization's new rentals to the allow-list
egress_request_exists409Ask for a destination to be added to the allow-list
egress_request_not_pending409Withdraw a pending egress request
enforce_unavailable409Hold the organization's new rentals to the allow-list, Set the destinations blocked for rentals on a host
exceeds_refundable409See how much unused credit can be refunded, and the fee kept, Refund unused credit to the cards and bank accounts it came from
export_in_progress409Delete a rental and its workspace, Restart a stopped rental, Export a stopped rental's workspace, Back up a stopped or failed rental's workspace
export_not_cancellable409Cancel a pending workspace export
export_not_ready409Make a single-use download link for a ready workspace export
floor_cooldown409Set a host's price and availability
gpus_unavailable409Rent GPUs on a host, Restart a stopped rental
host_disk_full409Rent GPUs on a host, Restart a stopped rental
host_has_active_rentals409Remove a host
host_has_stored_data409Remove a host
host_maintenance409Rent GPUs on a host, Restart a stopped rental
host_offline409Delete a rental and its workspace, Export a stopped rental's workspace, Back up a stopped or failed rental's workspace
host_removed409Rename a host, Set a host's price and availability
host_removing409Set a host's price and availability
host_start_hold409Rent GPUs on a host
host_unavailable409Restart a stopped rental
host_unsupported409Rent GPUs on a host, Change a rental's settings, Delete a rental and its workspace, Stop a rental, Export a stopped rental's workspace, Back up a stopped or failed rental's workspace, and 1 more
interruptible_has_bids409Set a host's price and availability
invalid_mode_switch409Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
invitation_exists409Invite a person to the organization
invitation_not_pending409Email an invitation again
key_revoked409Rotate a service key
linked_host409Rent GPUs on a host, Restart a stopped rental
model_settings_do_not_fit409Change a rental's settings
model_settings_unavailable409Rent GPUs on a host, Change a rental's settings, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
name_taken409Rename a host
no_matching_offers409Create a service
no_recommendation409Set a host's price and availability
no_saved_card409Turn auto top-up on or off and set its amounts
notice_open409Change a rental's settings
own_host409Rent GPUs on a host, Change a rental's settings, Restart a stopped rental
price_changed409Rent GPUs on a host
promo_budget_reached409Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
promo_code_already_redeemed409Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
promo_code_expired409Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
promo_code_not_started409Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
promo_code_used_up409Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
promo_code_wrong_kind409Top up the organization's balance, Redeem a promo code
promotions_paused409Top up the organization's balance, Check what a promo code gives the organization, Redeem a promo code
refund_quote_changed409Refund unused credit to the cards and bank accounts it came from
registry_credential_exists409Save a registry credential
registry_credential_in_use409Remove the organization's sign-in for a registry, Remove a registry credential
registry_credential_limit409Save a registry credential
registry_sign_in_in_use409Remove the organization's sign-in for a registry
rental_deleted409Change a rental's settings
rental_deleting409Change a rental's settings
rental_failed409Change a rental's settings
rental_held409Delete a rental and its workspace, Stop a rental, Restart a stopped rental, Export a stopped rental's workspace, Back up a stopped or failed rental's workspace
rental_managed_by_service409Change a rental's settings, Delete a rental and its workspace, How to reach the model a rental serves, Create the rental's model service if it has none, Stop a rental, Restart a stopped rental, and 2 more
rental_not_live409Create a service, Ask for a destination to be added to the allow-list
rental_not_stopped409Delete a rental and its workspace, Export a stopped rental's workspace, Back up a stopped or failed rental's workspace
rental_unnamed409Create a service
rentals_running409Refund unused credit to the cards and bank accounts it came from
replica_limit_exceeded409Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
revision_mismatch409Change a service's model, hardware, scaling or budget, or switch autoscaling on or off
rule_exists409Create a service
service_capped409Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Resume a paused service
service_deleting409Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Pause a service, Resume a paused service, Create a service key, Rotate a service key
service_disabled409Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Resume a paused service
service_name_taken409Create a service
service_not_autoscaled409Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Pause a service, Resume a paused service
ssh_key_exists409Save an SSH public key
ssh_key_limit409Save an SSH public key
test_org_live_payment409Top up the organization's balance, Turn auto top-up on or off and set its amounts, Save or replace the card auto top-up charges
test_org_no_refunds409See how much unused credit can be refunded, and the fee kept, Refund unused credit to the cards and bank accounts it came from
tier_unavailable409Rent GPUs on a host
too_many_keys409Create a service key, Rotate a service key
too_many_rules409Create a service
too_many_services409Create a service
link_used410Make a single-use download link for a ready workspace export, Mint a download link for a ready backup
request_too_large413
idempotency_key_reused422Rent GPUs on a host, Back up a stopped or failed rental's workspace, Create a service, Create a service key, Top up the organization's balance, Turn auto top-up on or off and set its amounts, and 4 more
image_manifest_unsupported422Inspect a container image before renting it, Save the organization's sign-in for a registry, Save a registry credential, Rename a registry credential or replace its secret
image_not_allowed422Rent GPUs on a host, Inspect a container image before renting it
image_not_found422Rent GPUs on a host, Inspect a container image before renting it, Save the organization's sign-in for a registry, Save a registry credential, Rename a registry credential or replace its secret
image_platform_unsupported422Rent GPUs on a host, Inspect a container image before renting it
image_registry_not_allowed422Inspect a container image before renting it
image_too_large422Rent GPUs on a host, Inspect a container image before renting it
maintenance_note_too_long422Schedule maintenance on one or many hosts, Move or change scheduled maintenance windows
registry_auth_unsupported422Save a registry credential, Rename a registry credential or replace its secret
registry_credential_host_mismatch422Rent GPUs on a host, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Inspect a container image before renting it
registry_credential_not_found422Rent GPUs on a host, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off, Inspect a container image before renting it
registry_credential_rejected422Save a registry credential, Rename a registry credential or replace its secret
registry_ecr_unsupported422Save a registry credential
registry_host_not_allowed422Save a registry credential, Rename a registry credential or replace its secret
registry_not_supported422Rent GPUs on a host, Inspect a container image before renting it
registry_realm_not_allowed422Save a registry credential, Rename a registry credential or replace its secret
benchmark_request_limited429Ask your host to benchmark again
bid_rate_limited429Rent GPUs on a host
limit_rate_limited429Change a rental's settings
mirror_quota_exceeded429Rent GPUs on a host, Inspect a container image before renting it
rate_limited429Rent GPUs on a host, Delete a rental and its workspace, What the rental's network blocked or would have blocked in the last 24 hours, Read a rental's logs, Stop a rental, Export a stopped rental's workspace, and 25 more
internal500
logs_upstream_error502Read a rental's logs, Read a service's logs, every replica
upstream_unavailable502What GPUs can be rented now, and from what price (public)
backups_unavailable503Delete a rental and its workspace, Stop a rental, Back up a stopped or failed rental's workspace, Mint a download link for a ready backup
benchmark_request_disabled503Ask your host to benchmark again
billing_unavailable503Delete a rental and its workspace, Stop a rental, Back up a stopped or failed rental's workspace, Get what a rental has cost, Get the organization's balance, List the organization's ledger entries, and 7 more
exports_unavailable503List a rental's recent workspace exports, Export a stopped rental's workspace, Make a single-use download link for a ready workspace export
image_registry_unavailable503Rent GPUs on a host, Inspect a container image before renting it, Save the organization's sign-in for a registry, Save a registry credential, Rename a registry credential or replace its secret
logs_unavailable503Read a rental's logs, Read a service's logs, every replica
offer_alerts_disabled503Be emailed once when a matching machine is available, Rename, re-arm or change the expiry of an offer alert
payments_unavailable503Get the organization's payout setup, List the organization's top-ups, Top up the organization's balance, See the organization's auto top-up, Turn auto top-up on or off and set its amounts, Save or replace the card auto top-up charges, and 5 more
registry_credentials_unavailable503Save a registry credential, Rename a registry credential or replace its secret, Remove a registry credential
registry_sign_ins_unavailable503Save the organization's sign-in for a registry, Remove the organization's sign-in for a registry
secrets_unavailable503Rent GPUs on a host, Change a rental's settings, Create a service, Change a service's model, hardware, scaling or budget, or switch autoscaling on or off

Every error code

The codes the API reference names, with the operations that return each one.