When the server responds with `throw new Exception(...)`, the client is not being able to parse the JSON response.