reenforce error-checking on Foursquare response data