Skip to Content
Orbyte Labs

Errors and retries

Handle denied usage and uncertain responses.

API errors return a non-success HTTP status with error and message fields. Use the generated schema for the current response contract.

StatusAction
400Fix the request or its input values.
401Replace an invalid key or refresh the user login.
403Check your key and selected environment.
404Check the resource and selected environment.
409Check credit funding, feature access, Stripe setup, or conflicting request terms.
413 / 415Reduce the body or send supported JSON.
500Inspect the result before retrying a write.

A denied feature check is a successful response with allowed: false, not an HTTP failure. Tracking can still fail after an allowed check because checks do not reserve credits.

For tracking and manual grants, retry an uncertain response with the same idempotency key and identical input. Do not use a new key for the same work.

Checkout and resource creation do not share that retry guarantee. A lost response can mean the operation completed. Inspect the dashboard or the resource ID before creating another checkout, deployment, application, or environment.

The SDK throws Error for API, validation, and transport failures and does not automatically retry requests.