Closed ArielEcker closed 6 years ago
Can you help me?
========= RESTART: C:\Ariel\2018\InstaPy-master\telegram-instapy.py ========= Traceback (most recent call last): File "C:\Ariel\2018\InstaPy-master\telegram-instapy.py", line 231, in main() File "C:\Ariel\2018\InstaPy-master\telegram-instapy.py", line 204, in main updater = Updater(telegram_token) File "C:\Python 3.6.4\lib\site-packages\telegram\ext\updater.py", line 122, in init self.bot = Bot(token, base_url, request=self._request) File "C:\Python 3.6.4\lib\site-packages\telegram\bot.py", line 108, in init self.token = self._validate_token(token) File "C:\Python 3.6.4\lib\site-packages\telegram\bot.py", line 134, in _validate_token raise InvalidToken() telegram.error.InvalidToken: Invalid token
have the same problem,any fixes?
Follow #4 Maybe it's only and error on your config file. Anyway try to write your telegram token directly in token variable
Can you help me?
========= RESTART: C:\Ariel\2018\InstaPy-master\telegram-instapy.py ========= Traceback (most recent call last): File "C:\Ariel\2018\InstaPy-master\telegram-instapy.py", line 231, in
main()
File "C:\Ariel\2018\InstaPy-master\telegram-instapy.py", line 204, in main
updater = Updater(telegram_token)
File "C:\Python 3.6.4\lib\site-packages\telegram\ext\updater.py", line 122, in init
self.bot = Bot(token, base_url, request=self._request)
File "C:\Python 3.6.4\lib\site-packages\telegram\bot.py", line 108, in init
self.token = self._validate_token(token)
File "C:\Python 3.6.4\lib\site-packages\telegram\bot.py", line 134, in _validate_token
raise InvalidToken()
telegram.error.InvalidToken: Invalid token