checks if data pull from server was successful