tehp / OpenPoGoBot

A PokemonGo Python bot - NO LONGER MAINTAINED
MIT License
123 stars 53 forks source link

[Issue] Request for new Access Token failed! Logged out... #358

Open kevinlife opened 8 years ago

kevinlife commented 8 years ago

I got an error when I bot after 40 mins. Here is the error message...

2016-08-25 10:46:24,738 [ pgoapi] [ERROR] Request for new Access Token failed! Logged out... Traceback (most recent call last): File "pokecli.py", line 88, in main() File "pokecli.py", line 80, in main bot.run() File "/root/OpenPoGoBot/pokemongo_bot/bot.py", line 140, in run self.stepper.current_lng File "/root/OpenPoGoBot/pokemongo_bot/mapper.py", line 33, in get_cells response_dict = self.api_wrapper.call() File "/root/OpenPoGoBot/api/init.py", line 107, in call results = request.call() File "/root/OpenPoGoBot/src/pgoapi/pgoapi/pgoapi.py", line 244, in call raise NotLoggedInException(error) pgoapi.exceptions.NotLoggedInException: Request for new Access Token failed! Logged out...

UnKn0wN-Binary-zz commented 8 years ago

I do not think there is a way to avoid it, happens to me to, once I restart the Bot it works right away.