Answer the question
In order to leave comments, you need to log in
The problem with the telegram bot on the server, what could be the problem?
An error occurred while starting the bot. python3.7 run.py startup code
Last login: Sat Oct 2 11:32:59 2021 from 78.142.235.183
[email protected]:~# screen
bash: /usr/local/lib/python3.7/dist-packages/aiogram/bot/api.py,: No such file or directory
[email protected]:~# > return check_result(method, response.content_type, response.status, await response.text())
bash: syntax error near unexpected token `('
[email protected]:~# > File "/usr/local/lib/python3.7/dist-packages/aiogram/bot/api.py", line 121, in check_result
bash: /usr/local/lib/python3.7/dist-packages/aiogram/bot/api.py,: No such file or directory
[email protected]:~# > exceptions.Unauthorized.detect(description)
bash: syntax error near unexpected token `('
[email protected]:~# > File "/usr/local/lib/python3.7/dist-packages/aiogram/utils/exceptions.py", line 140, in detect
bash: /usr/local/lib/python3.7/dist-packages/aiogram/utils/exceptions.py,: No such file or directory
[email protected]:~# > raise err(cls.text or description)
bash: syntax error near unexpected token `('
[email protected]:~# > aiogram.utils.exceptions.BotBlocked: Forbidden: bot was blocked by the user
Answer the question
In order to leave comments, you need to log in
This is not a server issue. This bot has been blocked by a user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question