Error Codes
Understanding API error responses
Error Codes
Understanding API error responses
400
invalid_requestThe request parameters are invalid or malformed.
Solution: Check your request body and ensure all required fields are present with valid values.
401
unauthorizedInvalid or missing API key.
Solution: Ensure you're including a valid API key in the Authorization header.
402
insufficient_creditsNot enough credits in your API wallet.
Solution: Purchase more credits or wait for your credits to refill.
404
not_foundThe requested resource (task, webhook, etc.) was not found.
Solution: Verify the resource ID is correct.
429
rate_limitedToo many requests in a short period.
Solution: Implement exponential backoff and respect rate limits.
500
internal_errorSomething went wrong on our end.
Solution: Retry the request after a short delay. If the issue persists, contact support.
Rate Limits
Default rate limits:
| Metric | Limit |
|---|---|
| Requests per minute | 60 |
| Requests per day | 10,000 |
| Concurrent tasks | 5 |