Errors & Response Envelope
Predictable error envelopes with typed error codes and zero charge guarantees.
Standard Error Envelope
{
"success": false,
"error": {
"code": "INSUFFICIENT_BALANCE",
"message": "Insufficient wallet balance. Add funds to continue."
},
"meta": {
"request_id": "req_01JEXAMPLE000000000000"
}
}Documented Error Codes
| HTTP | Error Code | Description | Charged |
|---|---|---|---|
| 400 | VALIDATION_ERROR | Please check the entered fields and try again. | Never |
| 401 | UNAUTHORIZED | Your session has expired. Please sign in again. | Never |
| 401 | INVALID_API_KEY | The provided API key is invalid or has been revoked. | Never |
| 402 | INSUFFICIENT_BALANCE | Insufficient wallet balance. Add funds to continue. | Never |
| 403 | FORBIDDEN | You do not have permission to perform this action. | Never |
| 403 | INSUFFICIENT_SCOPE | This API key lacks the required platform scope. | Never |
| 403 | IP_NOT_ALLOWED | Your request IP address is not in this API key's allowlist. | Never |
| 403 | ORGANIZATION_SUSPENDED | This organization is currently suspended. | Never |
| 403 | ENDPOINT_DISABLED | This endpoint is currently disabled. | Never |
| 403 | CORS_DENIED | Cross-origin browser requests are not allowed. | Never |
| 404 | NOT_FOUND | The requested resource was not found. | Never |
| 405 | METHOD_NOT_ALLOWED | HTTP method is not allowed on this route. | Never |
| 409 | IDEMPOTENCY_CONFLICT | Idempotency-Key was reused with different parameters. | Never |
| 409 | IDEMPOTENCY_IN_PROGRESS | A concurrent request with this Idempotency-Key is still in progress. | Never |
| 429 | RATE_LIMITED | Too many attempts. Please wait a moment before trying again. | Never |
| 429 | PROVIDER_RATE_LIMITED | Upstream platform rate limit exceeded. Please retry shortly. | Never |
| 502 | UPSTREAM_ERROR | The upstream provider returned an unexpected error. | Never |
| 502 | BILLING_FINALIZATION_FAILED | Billing finalization failed; no charge was recorded and data was withheld. | Never |
| 503 | SERVICE_UNAVAILABLE | A backing dependency is temporarily unavailable. | Never |
| 503 | PROVIDER_UNAVAILABLE | The upstream provider is temporarily unavailable. | Never |
| 503 | PROVIDER_NOT_CONFIGURED | The upstream provider is not configured yet. | Never |
| 504 | UPSTREAM_TIMEOUT | The upstream provider request timed out before completion. | Never |
| 500 | CATALOG_UNAVAILABLE | Unable to load the API catalog right now. | Never |
| 500 | INTERNAL_ERROR | An unexpected internal error occurred. | Never |