Reference

Control-plane API errors and next steps

Look up selected control-plane API refusals by code, then check the access, target, input or service state that needs to change. Use Find in page or a code’s direct link.

Read the response first

Locate the machine-readable identifier in code, detail.code or error_code according to the operation’s response contract. Entry titles here are reference labels; the response title can be an HTTP status phrase.

Keep the X-Request-ID response header; a body request_id, when the reply carries one, matches it. Rate-limit (429) and unexpected-error (500) replies carry both code and request_id, and a 200 operation receipt needs its own state or result check.

HTTP statuses below are selected examples, not an exhaustive mapping. Operation receipts, MCP and relayed components have their own response contracts.

Access and credentials

Check the credential’s state separately from the route’s scope, role and feature requirements.

unauthenticated

Not authenticated

HTTP status examples: 401

Meaning
The request did not resolve to an accepted authenticated identity.
Next step
Sign in or supply a valid X-API-Key on a route that accepts API keys, then retry.

api_key_expired

API key expired

HTTP status examples: 401

Meaning
The API key or its service account has expired.
Next step
Ask an administrator to issue a new key on an active service account, then use that key.

api_key_revoked

API key revoked

HTTP status examples: 401

Meaning
The API key or its service account has been revoked.
Next step
Ask an administrator to issue a new key on an active service account. Revoked keys and accounts cannot be restored.

api_key_suspended

API key suspended

HTTP status examples: 401

Meaning
The key belongs to a suspended service account. Restoring its owner’s eligibility alone does not clear the suspension.
Next step
Ask an administrator to reassign the account to an active admin or owner, or explicitly unsuspend it once its existing owner is eligible. Only still-valid, unexpired and unrevoked keys on unexpired, unrevoked accounts can resume after authorized restoration.

insufficient_scope

API key scopes do not cover the route

HTTP status examples: 403

Meaning
The API key’s scopes do not admit the requested route or operation.
Next step
Use a key with the required scope. Scope does not bypass the operation’s role or license checks.

Resource lookup

Check the requested target within the current credential’s accessible view.

not_found

Not found

HTTP status examples: 404

Meaning
The requested target is unavailable in the current request’s view, which may be filtered by access.
Next step
Check the path and resource ID. List resources accessible to your credentials before retrying.

Service state

Some actions require a deliberate state change or an existing transition to finish.

service_archived

Service is archived

HTTP status examples: 409

Meaning
The requested action was refused because the service is archived.
Next step
Check the returned service ID and hint. If restoring that service is intended, ask an authorized service-write operator to restore it before retrying. Restoration can itself be refused.

active_transition_in_progress

Service transition in progress

HTTP status examples: 409

Meaning
An active LEARN-to-MOCK transition blocks the requested service archive or delete.
Next step
Inspect the transition status and wait for it to finish or fail before retrying the archive or delete. Other checks can still refuse the request.

Request input

Correct the indicated request boundary before sending the operation again.

idempotency_key_required

Idempotency key required

HTTP status examples: 400

Meaning
This operation requires an Idempotency-Key header.
Next step
Supply the header according to the operation’s contract. Reuse a key only for the same request when retrying after an unclear response.

spec_body_too_large

Spec body too large

HTTP status examples: 413

Meaning
An OpenAPI document exceeded the applicable body-size limit.
Next step
Reduce the OpenAPI document below that limit; use max_bytes when the response provides it.

unsupported_content_encoding

Unsupported content encoding

HTTP status examples: 422

Meaning
The OpenAPI input uses an unsupported Content-Encoding.
Next step
Send an OpenAPI upload without Content-Encoding. For a fetched URL, serve the document uncompressed or with one supported gzip or deflate encoding.

validation_error

Validation error

HTTP status examples: 422

Meaning
The request failed validation. The shape of detail depends on the operation and validation boundary.
Next step
Correct the body, query or path fields identified in detail, then resend the request.

Wait, inspect or report

Use the operation-specific retry contract; a status code alone does not establish repeatability.

database_unavailable

Database temporarily unavailable

HTTP status examples: 503

Meaning
The read-only database-unavailable handler could not serve the read.
Next step
Wait for Retry-After when provided, then retry the read. If it persists, contact the operator. This advice does not establish whether a failed mutation took effect.

idempotency_request_in_progress

Request with this key still running

HTTP status examples: 409

Meaning
A request with this idempotency key is still running.
Next step
Wait for Retry-After, then retry the same request with the same Idempotency-Key. Do not change the payload, target or key to work around the running operation.

internal_error

Internal server error

HTTP status examples: 500

Meaning
The server failed to complete the response normally. A mutation may already have taken effect; this code is not rollback proof.
Next step
Keep X-Request-ID. Check the operation’s state or result before retrying a mutation, and follow its retry or idempotency contract. Contact the operator if the failure persists.

Retry deliberately and retain useful evidence

Wait for Retry-After when present, then follow the operation’s repeatability and idempotency contract. A wait interval alone does not make a mutation safe to repeat.

For persistent failures, retain the operation, time, HTTP status, code field and value, and X-Request-ID when available. Remove keys, cookies and sensitive payloads from diagnostic material.