Error handling
Erroneous responses to each API call is aligned with standard HTTP responses. The following is a sample of each standard erroneous response.
400 - incorrect data provided
{
"code": 400,
"message": "Provided data is incorrect",
"details": []
}
401 - unauthorised API call
{
"code": 401,
"message": "Unauthorized",
"details": []
}
403 - insufficient access rights
{
"code": 403,
"message": "You do not have correct access rights",
"details": []
}
Successful execution responses are returned with 200 status code - samples are available in the detailed description of each API.
Updated 10 months ago