2xx range indicate success, codes in the 4xx range indicate an error due to the information provided (e.g., a required parameter was missing), and codes in the 5xx range indicate an error with our servers.
HTTP Status Codes
| Code | Description |
|---|---|
| 200 - OK | The request was successful. |
| 201 - Created | The resource was successfully created. |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. |
| 401 - Unauthorized | No valid API key provided. |
| 403 - Forbidden | The API key doesn’t have permissions to perform the request. |
| 404 - Not Found | The requested resource doesn’t exist. |
| 422 - Validation Error | The request was well-formed but was unable to be processed due to semantic errors. |
| 429 - Too Many Requests | Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. |
| 500, 502, 503, 504 - Server Errors | Something went wrong on our end. (These are rare.) |
Error Response Format
All API errors include a JSON response body:Error Handling in SDKs
Tips for Error Handling
Always implement proper error handling in your application to provide a good user experience and facilitate debugging.
Handle expected errors
Handle common error cases (401, 404, 422, 429) gracefully in your application
Implement retry logic
Use exponential backoff for retrying failed requests, especially for rate limit errors (429)
Getting Help
If you’re experiencing persistent errors:- Ensure you have the complete error message
- Contact our support team at support@meibel.ai with details
- For SDK-specific issues, open an issue on GitHub