If response can not be parsed as JSON, an error containing the response body will now be thrown.