Error Handling
The Hatrio API uses standard HTTP status codes to indicate the success or failure of an API request.
Status Code Summary
| Code | Description |
|---|---|
| 200 / 201 | Success. The request was completed as expected. |
| 202 | Accepted. The task has been queued in our autonomous engine. |
| 400 | Bad Request. Often due to missing parameters or invalid JSON. |
| 401 | Unauthorized. Your Platform Key is missing or invalid. |
| 403 | Forbidden. You do not have permission to access the requested platform. |
| 404 | Not Found. The requested resource does not exist. |
| 429 | Too Many Requests. You have hit the rate limit. |