Answer the question
In order to leave comments, you need to log in
The bot is not authorized through the token, how to fix it?
When authorizing through a login and password, the bot is authorized, and when authorized through a token, it gives the following error:
C:\MyBot\venv\Scripts\python.exe C:/MyBot/MyBot.py
Traceback (most recent call last):
File "C:/MyBot/MyBot.py", line 5, in <module>
vk.auth()
File "C:\MyBot\venv\lib\site-packages\vk_api\vk_api.py", line 143, in auth
raise LoginRequired('Login is required to auth')
vk_api.exceptions.LoginRequired: Login is required to auth
Process finished with exit code 1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question