More gracefully handle invalid responses