PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Google Token Issue

Open KyleBoyer opened this issue 10 years ago • 13 comments

I just recently changed my Google Password, and now the token isn't working, thus I removed it from the config file. Now after that, the log(below) is what I get, and you can see that it is trying to authenticate based on the static token that is not set.

28 Jul 17:18:20: Logging in to game server... D/RequestHandler: Authenticated with static token D/RequestHandler: Authenticated with static token 28 Jul 17:18:22: Server returned unexpected error

KyleBoyer avatar Jul 28 '16 22:07 KyleBoyer

same problem, servers are working perfectly fine atm

LOLwhat123 avatar Jul 28 '16 22:07 LOLwhat123

same error trying but trying to use PTC

accident12123 avatar Jul 28 '16 22:07 accident12123

how do you use PTC? I dont get it?

Leo3dprinter avatar Jul 28 '16 22:07 Leo3dprinter

same error, same issue happening with 0.4.7

mrlfarano avatar Jul 28 '16 22:07 mrlfarano

how do you use PTC? I dont get it?

Pokemon Trainer Club is used by signing up without a gmail account, then instead of entering your gmail email address for the username in the config, you enter that information.

KyleBoyer avatar Jul 28 '16 22:07 KyleBoyer

same error, same issue happening with 0.4.7

I'm having the issue also with that one.

KyleBoyer avatar Jul 28 '16 22:07 KyleBoyer

issue #608 might actually be the root cause here and it's a soft ban.

accident12123 avatar Jul 28 '16 22:07 accident12123

both my accounts work perfectly fine on the phone so not soft banned

LOLwhat123 avatar Jul 28 '16 23:07 LOLwhat123

This is not caused by the auth for either Google/PTC.

If you are seeing the exact output that @KyleBoyer posted, as I was, then printing the exception that caused the "unexpected error", will point you to the underlying PokeGOAPI-Java api, specifically, https://github.com/Grover-c13/PokeGOAPI-Java/issues/327 as well as https://github.com/jabbink/PokemonGoBot/issues/608.

The best hypothesis I've seen is that Niantic is rate limiting the number of allowed requests/second. If true, then changing the underlying PokeGOAPI-java is the best solution for reliably enforcing it.

alexpw avatar Jul 28 '16 23:07 alexpw

so atm there is no fix??

TunnelSnakesThatsus avatar Jul 29 '16 02:07 TunnelSnakesThatsus

you can fix it yourself @TunnelSnakesThatsus :') I was messing around a bit and partially got it working. but for now; wait for an update.

RaeneDev avatar Jul 29 '16 03:07 RaeneDev

@TunnelSnakesThatsus - Right, there is no official fix yet.

husbeard avatar Jul 30 '16 01:07 husbeard

This should in theory be fixed in v0.5.0-alpha3

langerhans avatar Jul 30 '16 18:07 langerhans