Error checking should be done before Response checking