PokeGOAPI-Java icon indicating copy to clipboard operation
PokeGOAPI-Java copied to clipboard

Service Unavailable

Open john086 opened this issue 10 years ago • 10 comments

Hi when invoke login i receive this response, when call new PtcLogin(http).login

Response{protocol=http/1.1, code=503, message=Service Unavailable, url=https://sso.pokemon.com/503?locale=null}

There are problem with services ? The username and password that i must provide is of my google account ?

john086 avatar Jul 22 '16 12:07 john086

PtcLogin is login to Pokemon Trainer Club, not google account. Also they have problems with servers. http://ispokemongodownornot.com/

stirante avatar Jul 22 '16 12:07 stirante

Great, i understand. i have another question, method "catchPokemon()" use login of Pokemon Trainer Club, i can use google login ? is the same ?

john086 avatar Jul 22 '16 12:07 john086

The example uses PTCLogin but you can use google, it's exactly the same. The only difference is when you create the AuthInfo object

guipenedo avatar Jul 22 '16 12:07 guipenedo

Ok, i try to call method but give CATCH_ERROR, why ?

john086 avatar Jul 22 '16 12:07 john086

That means you weren't able to catch him. It's just the same as when they break out of the pokeball on the official application. If that happens too often you're likely soft banned

guipenedo avatar Jul 22 '16 12:07 guipenedo

I think soft blocked, because return the same error always, now i try to change location coordinates and retry.

john086 avatar Jul 22 '16 13:07 john086

@guipenedo CATCH_ERROR is not the same as a pokemon breaking out of a pokeball. That is CATCH_ESCAPE. CATCH_ERROR means there was something wrong in the request and the server was unable to process the catch at all.

mjmjelde avatar Jul 22 '16 13:07 mjmjelde

ok i use the request from example class CatchPokemonAtAreaExample.java and produce CATCH_ERROR

john086 avatar Jul 22 '16 14:07 john086

Closing because p sure the issue is fixed. If not you are soft banned or out of pokeballs.

Grover-c13 avatar Jul 23 '16 15:07 Grover-c13

ok i need update my jars or is software bug ?

john086 avatar Jul 23 '16 18:07 john086