Skip to main content
The Meibel API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 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

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.
1

Handle expected errors

Handle common error cases (401, 404, 422, 429) gracefully in your application
2

Implement retry logic

Use exponential backoff for retrying failed requests, especially for rate limit errors (429)
3

Log errors

Log error details to help with troubleshooting
4

Provide user feedback

Translate API errors into helpful messages for your users

Getting Help

If you’re experiencing persistent errors:
  1. Ensure you have the complete error message
  2. Contact our support team at support@meibel.ai with details
  3. For SDK-specific issues, open an issue on GitHub