PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Error with Google Login

Open ColeB27 opened this issue 10 years ago • 8 comments

Logging in to game server... Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException at com.pokegoapi.auth.GoogleLogin.login(GoogleLogin.java:160) at ink.abb.pogo.scraper.MainKt.main(Main.kt:85)

This is the error message I receive when trying to sign in with google. When the token variable is cleared in config. It runs, but when it is filled. It does not run.

ColeB27 avatar Jul 25 '16 21:07 ColeB27

Clear it, the bot automatically fills it with a new token when it starts, and it expires after an hour or so, so the token you have right now is expired.

OmarElsebai avatar Jul 25 '16 22:07 OmarElsebai

because the token that the bot fills in is not correct. you need to fill in the correct token manually.

li24yang75 avatar Jul 25 '16 22:07 li24yang75

What do you mean is not correct? Am I supposed to replace it with the short one? The one that is after "Logged in as"? Would that mean it will not expire?

OmarElsebai avatar Jul 25 '16 22:07 OmarElsebai

yes. replace it with the short one.

li24yang75 avatar Jul 25 '16 22:07 li24yang75

If this works, I love you.

OmarElsebai avatar Jul 25 '16 22:07 OmarElsebai

@li24yang75 Either I'm not doing it correctly, or it doesn't work. I'm doing all this through the 0.4.2 release, not through the source, could that be the reason? I don't understand how tokens work that much so bear with me. It gave me this: Logged in as *[email protected] with token 1/______SSSSSSSSSSSSSSSSSSSSSSSSS I tried using the whole thing; 1/_____SSSSSSSSSSSSSSSSSSSSSSSSS and it didn't renew the token, currently trying to use SSSSSSSSSSSSSSSSSSSSSSSSS.

OmarElsebai avatar Jul 25 '16 22:07 OmarElsebai

i donot have this problem. it works well for me. Both prebuilt version and source code version, it works well. Maybe it is because the format of your file. You can leave your email here. I will send you my config.properties file. then you just need to replace my token with your own token.

li24yang75 avatar Jul 26 '16 00:07 li24yang75

@omar972

li24yang75 avatar Jul 26 '16 00:07 li24yang75