Skip to main content

Error Codes

For the full error-code reference — every code in the canonical error-code registry, grouped by domain — see the Error Code Reference page. The table below is a focused subset of the codes developers encounter most during integration.

Common Error Codes

Error Response Format

Worked example — a 422 envelope end to end

Handling errors in code

Every endpoint — messages, voice, contacts, agents — returns errors in the error envelope above. It is a platform concern, not tied to one endpoint: a Python client and a Go client see the same code / message / status / meta.request_id as a Node client, and the language SDKs mirror that shape so code always indexes into the table above.

Node.js — retrying 429 with backoff

Python

The Python SDK subclasses OrbitError per HTTP class — OrbitAuthenticationError (401/403), OrbitRateLimitError (429, carries retry_after), OrbitClientError (other 4xx), and OrbitServerError (5xx) — so catch a subclass when you want the specific class. OrbitError itself catches every API failure.

Go

Java, C#, PHP, Ruby

The Java, C#, PHP, and Ruby SDKs are pre-publish — not yet on Maven Central, NuGet, Packagist, or RubyGems, so the registry blocks on the per-language SDK pages describe the future registry shape. Vendor the source from the monorepo (sdk-java, sdk-csharp, sdk-php, sdk-ruby) and use the SDK anyway: its escape-hatch client call — client.request (Java and Ruby), client.RequestAsync (C#), or $client->request (PHP) — covers the whole API surface, errors included. Each language page walks the same model end to end. An Orbit-originated OrbitError carries error_code / status_code / request_id; the escape hatch throws the same typed error subclasses as the typed methods, so the catch taxonomy matches every other sample on this page.
Always include the request_id from the error response meta when contacting Orbit support. This allows us to trace the exact request through our infrastructure.
For the complete list of error codes — including messaging, voice, AI-agent, billing, compliance, and system errors — see the Error Code Reference.