вчера бот запускался, сегодня захожу а там вот такая ошибка появляется BOT WORK Goodbye! Traceback (most recent call last): File "C:\scam_nft\main.py", line 717, in <module> executor.start_polling(dp, skip_updates = True) File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 45, in start_polling executor.start_polling( File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 320, in start_polling loop.run _until_complete(self._startup_polling()) File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 372, in _startup_polling await self._welcome() File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 361, in _welcome user = await self.dispatcher.bot.me File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\bot.py", line 30, in me setattr(self, '_me', await self.get_me()) File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\bot.py", line 233, in get_me result = await self.request(api.Methods.GET_ME, payload) File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\base.py", line 236, in request return await api.make_request(await self.get_session(), self.server, self.__token, method, data, files, File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\api.py", line 140, in make_request return check_result(method, response.content_type, response.status, await response.text()) File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\api.py", line 121, in check_result exceptions.Unauthorized.detect(description) File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\exceptions.py", line 141, in detect raise cls(description) aiogram.utils.exceptions.Unauthorized: Unauthorized
Тэкс вот из-за чего это может быть: Токен неверный Бота забанили Айпи забанили, впн попробуй Aiogram обновился (pip install aiogram) И еще кэш очистить попробуй
BOT WORK
Goodbye!
Traceback (most recent call last):
File "C:\scam_nft\main.py", line 717, in <module>
executor.start_polling(dp, skip_updates = True)
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 45, in start_polling
executor.start_polling(
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 320, in start_polling
loop.run _until_complete(self._startup_polling())
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 372, in _startup_polling
await self._welcome()
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\executor.py", line 361, in _welcome
user = await self.dispatcher.bot.me
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\bot.py", line 30, in me
setattr(self, '_me', await self.get_me())
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\bot.py", line 233, in get_me
result = await self.request(api.Methods.GET_ME, payload)
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\base.py", line 236, in request
return await api.make_request(await self.get_session(), self.server, self.__token, method, data, files,
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\api.py", line 140, in make_request
return check_result(method, response.content_type, response.status, await response.text())
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\bot\api.py", line 121, in check_result
exceptions.Unauthorized.detect(description)
File "C:\Users\dimon\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\utils\exceptions.py", line 141, in detect
raise cls(description)
aiogram.utils.exceptions.Unauthorized: Unauthorized
ЧТО МНЕ ДЕЛАТЬ, КАК ЕЕ РЕШИТЬ?