Understand and resolve common error codes returned by the Recuvix API.
All API errors follow a consistent JSON format:
| Status | Meaning | Common cause |
|---|---|---|
| 400 | Bad Request | Invalid input parameters |
| 401 | Unauthorized | Missing or invalid session token |
| 402 | Payment Required | Insufficient credits for task |
| 429 | Rate Limited | Too many requests |
| 500 | Server Error | Internal processing error |
Errors specifically related to AI generation service providers:
INVALID_API_KEY: Your provided key is wrong or expired.RATE_LIMITED: AI provider rate limit hit.GENERATION_FAILED: AI returned a malformed response.