Gracefully fail if the API key isn't valid