diff --git a/octobot/community/authentication.py b/octobot/community/authentication.py index f041a3ff3..ab0a6426c 100644 --- a/octobot/community/authentication.py +++ b/octobot/community/authentication.py @@ -594,6 +594,9 @@ async def fetch_bot_tentacles_data_based_config( async def fetch_private_data(self, reset=False): try: + if not self.is_logged_in(): + self.logger.info(f"Can't fetch private data: no authenticated user") + return mqtt_uuid = None try: mqtt_uuid = self.get_saved_mqtt_device_uuid()