Untitled
unknown
plain_text
14 days ago
2.7 kB
4
Indexable
Never
2024-10-01 17:35:29,011 (__init__.py:1106 MainThread) ERROR - TeleBot: "Infinity polling exception: "InaccessibleMessage" object has no attribute "business_connectio n_id"" 2024-10-01 17:35:29,012 (__init__.py:1108 MainThread) ERROR - TeleBot: "Exception traceback: Traceback (most recent call last): File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1101, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1189, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1264, in __threaded_polling raise e File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1226, in __threaded_polling self.worker_pool.raise_exceptions() File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/util.py", line 150, in raise_exceptions raise self.exception_info File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/util.py", line 93, in run task(*args, **kwargs) File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 8818, in _run_middlewares_and_handler if self._test_message_handler(handler, message): File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 8747, in _test_message_handler if not self._test_filter(message_filter, filter_value, message): File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 8773, in _test_filter return self._check_filter(message_filter,filter_value,message) File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/__init__.py", line 8785, in _check_filter return filter_check.check(message, filter_value) File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/custom_filters.py", line 407, in check chat_id, user_id, business_connection_id, bot_id, message_thread_id = resolve_context(message, self.bot._user.id) File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/states/__init__.py", line 71, in resolve_context message.message.business_connection_id, File "/home/studyplan110/.local/lib/python3.10/site-packages/telebot/types.py", line 9577, in __getattr__ raise AttributeError(f'"{self.__class__.__name__}" object has no attribute "{item}"') AttributeError: "InaccessibleMessage" object has no attribute "business_connection_id"
Leave a Comment