added exception for invalid/no api key