Fixed log level for invalid api key