Handling Errors

You may receive one of several responses to your requests from the Kekker Platform API. The results of calls to API methods can be divided by status codes of HTTP response:

  • 200 - the request was successful. The body of the answer contains an expected model.
  • 400 - bad request. The answer body is as follows:
{
    "ErrorMessage":"description of error"
}
  • 500 - internal error. Always returns:
{
    "ErrorMessage":"Internal error"
}
  • 401 - authorization error. The body of the answer may appear in any shape.