Error Codes
This is a list of error codes that tells you more about the response.
400 Bad Request
The request is processed, but there are errors regarding the input.
401 Unauthorized
The client is not authorized yet, e.g. no tokens / tokens expired.
403 Forbidden
The client has the wrong credentials, e.g. failed login attempts, incorrect access scopes.
404 Not Found
The requested resource is not present.
422 Unprocessable Entity
The request body / some of the fields are invalid. For defails, please check the response message and it should tell you which field is wrong.
500 Internal Server Error
Mainly server error, but can also be used as any error that does not have a proper code yet (could be fixed in the next update :D ).
503 Service Unavailable
The service is currently unavailable due to maintenance / deployment.