When a request to the API fails, it will return a 5XX/4XX http response with a json object containing more information about the error. The error object contains a message and a code, which can be used to determine the main cause of the error. A list of possible error codes can be found on the Annex
Example of returned error object

    "message": "Authorization has been denied for this request.",
    "code": 999,
    "correlation_id": "00000000-0000-0000-0000-000000000000",