HTTP Status Codes
The API uses standard HTTP status codes. The following are commonly used status codes and their meanings:
When an error occurs, the API returns a JSON response in the following format:
Response Fields
Common Errors
Authentication Error (401)
Cause: API key is invalid or missing
Permission Error (403)
Cause: No permission for the requested operation
Validation Error (422)
Cause: Request parameters do not meet validation rules
Error Handling Best Practices
- Properly handle all HTTP status codes
- Implement retry logic especially for 429 (rate limit) errors
- Log error messages to help diagnose problems
- Display user-friendly error messages to users
- Do not include sensitive information in error messages
Last modified on October 9, 2026