Errors
docs.errorsBody
{
"success": false,
"error": {
"code": "insufficient_balance",
"message": "Wallet balance is below required amount.",
"details": { "requiredCents": 1500, "availableCents": 800 },
"request_id": "req_..."
}
}
Authentication
| Code | Meaning |
|---|
| invalid_api_key | API key is invalid or revoked. |
| user_blocked | User account is suspended. |
| email_not_verified | Email is not verified yet. |
Billing
| Code | Meaning |
|---|
| insufficient_balance | Wallet balance is below the required amount. |
| price_not_configured | No price is configured for this method/bundle. |
| provider_rate_card_not_configured | Provider rate card is missing. |
Catalog
| Code | Meaning |
|---|
| unsupported_provider | Provider is not supported. |
| unsupported_model | Model is not supported. |
| unsupported_method | Method is not supported. |
| method_not_available_for_user | This method is not enabled for your account. |
| provider_unavailable | Provider is temporarily unavailable. |
| model_unavailable | Model is temporarily unavailable. |
| method_unavailable | Method is temporarily unavailable. |
Tasks
| Code | Meaning |
|---|
| task_not_found | Task does not exist. |
| task_not_owned | You do not own this task. |
| task_expired | Task has expired. |
| task_failed | Task failed. |
| task_timed_out | Task timed out. |
Request
| Code | Meaning |
|---|
| invalid_request | The request is malformed. |
| invalid_parameters | Some parameters did not pass validation. |
| rate_limit_exceeded | You hit the rate limit. Slow down and retry. |
| idempotency_key_in_use | Idempotency key is currently being processed. |
| idempotency_key_mismatch | Idempotency key was reused with a different payload. |
Coupons
| Code | Meaning |
|---|
| coupon_invalid | Coupon code is invalid. |
| coupon_expired | Coupon is expired. |
| coupon_already_used | Coupon was already redeemed. |
Generic
| Code | Meaning |
|---|
| internal_error | Unexpected internal error. Try again later. |