Starting with v2, all error responses are returned in JSON format.
Example:
{
"errorMessage": "Invalid access token",
"isError": true,
"errorCode": 100
}