# Error codes

All API responses are in JSON format. A `result` field, with a value of `success` or `error` is returned with each request. In the event of an error, a `message` field will provide an error message.

**HTTP error codes**

The Kaiko platform API uses the following error codes:

| Error Code | Meaning                                                                                                                                                                                     |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 400        | Bad Request                                                                                                                                                                                 |
| 401        | Unauthorized -- You are not authenticated properly. See [Authentication](https://docs.kaiko.com/#authentication)[.](https://docs.kaiko.com/rest-api/general/getting-started/authentication) |
| 403        | Forbidden -- You don't have access to the requested resource.                                                                                                                               |
| 404        | Not Found                                                                                                                                                                                   |
| 405        | Method Not Allowed                                                                                                                                                                          |
| 406        | Not Acceptable                                                                                                                                                                              |
| 429        | Rate limit reached                                                                                                                                                                          |
| 500        | Internal Server Error -- We had a problem with our service. Try again later.                                                                                                                |
| 503        | Service Unavailable -- We're temporarily offline for maintenance.                                                                                                                           |

<br>
