-
Notifications
You must be signed in to change notification settings - Fork 277
Conversation
I can confirm this fixes the problem for me too |
@Grover-c13 curious as I can't get it to work still - posted here:
Printing the request I see:
and printing the gym_proto result:
|
Are you sending the player lat/long in the StartGymBattleRequest and is your script/api handling the new rate limiting? |
I'm ok with merging in if you add a comment on the type. |
@Grover-c13 yes, I am providing lat/long in double format. And yes. I am doing a lot more before the gym start without a rate-limit problem. |
Thanks for the added message Grover |
This still fails for me... here is the protoc of the request - do you see anything strange?
As you can see it is all as described... the only thing I'm missing is the "auth_ticket" for field 11: in outer Envelope, which perhaps is the issue? Doesn't seem to be a problem for all other requests I make. |
It may be that the server redirects you to another endpoint - I noticed StartGymBattle tends to do that quite often. See what the status_code of the response envelope is, and if it's 53, repeat the request (and all future ones) to the provided api_url instead. |
Change defending pokemonID to fixed64, otherwise start gym battle fails.