Error Handling
Catalog Data APIs use conventional HTTP response codes to indicate the success or failure of an API request.
HTTP Status Codes
In General
Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a verification failed etc.). Codes in the 5xx range indicate an error with the backend servers (rarely happen).
| Code | Summary | Description |
|---|---|---|
| 200 | Ok | Success request |
| 400 | Bad request | The request was unacceptable, often due to missing a required parameter or invalid request format |
| 401 | Unauthorised | Invalid authentication details |
| 404 | Not found | API method is not found |
| 500 | Internal Server Error | Something went wrong on API backend end. |