Here are all the possible status codes returned by the REST API.
SUCCESS |
200 |
OK |
The request has succeeded |
|
204 |
No Content |
The request has succeeded but it was a HEAD request |
|
|
|
|
REDIRECT |
301 |
Moved Permanently |
If the endpoint was moved |
|
|
|
|
CLIENT ERROR |
400 |
Bad Request |
There was a client error (check its code here: Errors) |
|
401 |
Not Authorized |
Authentication failed |
|
404 |
Not Found |
Endpoint/entity was not found |
|
405 |
Method Not Allowed |
CORS configuration missing |
|
406 |
Not Acceptable |
Payload type is not accepted |
|
408 |
Request Timeout |
The request was over 60 seconds |
|
429 |
Too Many Requests |
Rate limit exceeded or too many requests per second |
|
|
|
|
SERVER ERROR |
500 |
Internal Server Error |
Something went wrong with the API; check server-side logs |
|
501 |
Not Implemented |
CORS method is not implemented |
|
503 |
Service Unavailable |
3rd party service is not available (Mongo, Redis) |