Update error response parsing.