Check for error response at getHTTPStatusCode()