log errors, change apikey