Хочу поставить бота
выдает вот такую ошибку
2022-06-10 21:44:49,013 (__init__.py:659 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 401. Description: Unauthorized"
2022-06-10 21:44:49,014 (__init__.py:661 MainThread) ERROR - TeleBot: "Exception traceback:
Traceback (most recent call last):
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\__init__.py", line 649, in __threaded_polling
polling_thread.raise_exceptions()
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\util.py", line 107, in raise_exceptions
raise self.exception_info
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\util.py", line 89, in run
task(*args, **kwargs)
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\__init__.py", line 361, in __retrieve_updates
timeout=timeout, long_polling_timeout=long_polling_timeout)
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\__init__.py", line 337, in get_updates
json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates, long_polling_timeout)
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\apihelper.py", line 322, in get_updates
return _make_request(token, method_url, params=payload)
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\apihelper.py", line 152, in _make_request
json_result = _check_result(method_name, result)
File "C:\Users\Boss\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\apihelper.py", line 179, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 401. Description: Unauthorized