Skip to content

Errors

Error payload

In the event of an error, a non-200 error code will be returned, and the response body will be a json object with three fields:

Example of error response:

json
{
  "result": "error",
  "reason": "ObjectNotFound",
  "message": "Object by specified ID not found"
}
  1. result – which will always be "error".
  2. reason – which will be one of the string constants.
  3. message – a human-readable string with additional error information.

HTTP error codes

Error CodeMeaning
400Bad Request – Your request is invalid.
401Unauthorized – Your API key or signature is wrong.
403Forbidden – Not enough permissions.
404Not Found – The specified page could not be found.
405Method Not Allowed – You tried to access endpoint with an invalid method.
500Internal Server Error – We had a problem with our server.
503Service Unavailable – We're temporarily offline for maintenance.