Don't blank the api key every time there is an error.