Parsing error code from json response body should be done whenever it's there