Here are the errors you might encounter when using the API. Every error is be returned with a HTTP Status Code (see below) and a JSON body with a root node errors with more details.
| Code | Name | Meaning |
|---|---|---|
| 400 | Bad Request | The request cannot be processed due to a critical error, such as a bad JSON representation |
| 401 | Unauthorized | The provided credentials are missing or invalid |
| 403 | Forbidden | The provided credentials do not allow access to the resource |
| 404 | Not Found | The specified ressource could not be found |
| 405 | Method Not Allowed | The ressource cannot be accessed with the current method |
| 406 | Not Acceptable | The request format isn’t JSON |
| 422 | Unprocessable Entity | The request has been processed but cannot be executed due to a missing required parameter or a parameter in the wrong format |
| 429 | Too Many Requests | Too many requests, follow the rate limits |
| 500 | Internal Server Error | Something went terribly wrong, please contact Pole Star |