If I understand the documentation correctly I need to add this bit to api.json to parse the error message
"error": {
"message": "message"
}
However the message does not get returned by the client. I see the error code (500) but the error message itself is in the body parameter and does not get parsed. Am I doing something wrong?
Error responses from API are formatted like this:
If I understand the documentation correctly I need to add this bit to
api.json
to parse the error messageHowever the message does not get returned by the client. I see the error code (500) but the error message itself is in the body parameter and does not get parsed. Am I doing something wrong?