Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartGymBattle response most times is empty #148

Open
jamie2016-1 opened this issue Aug 12, 2016 · 2 comments
Open

StartGymBattle response most times is empty #148

jamie2016-1 opened this issue Aug 12, 2016 · 2 comments

Comments

@jamie2016-1
Copy link

jamie2016-1 commented Aug 12, 2016

Hi I am calling the StartGymBattle service and most times like 999 out of a 1000 its totally empty. On the odd rare occasion its populated and the request is successful.

The parameters I pass are consistent in all 1000 tests, so I dont know what is wrong. Any ideas?

I see others have had similar problems but that was also linked to the fixed64 in the POGOProtos but that is fixed now right? Also if it wasnt I would fail 1000 out of 1000 times.

@ghost
Copy link

ghost commented Aug 13, 2016

yes i had this error its due to timings if you enter the gym to quickly it returns empty or invalid defender

@jamie2016-1
Copy link
Author

jamie2016-1 commented Aug 13, 2016

I already have a delay and a loop for a number of times, I delay on each iteration of the loop. Is this not enough? What delay do you say is expected?

Regarding the defender isnt it a parameter we are supposed to provide, according to https://github.com/tejado/pgoapi/wiki/start_gym_battle its something we input or? I have been passing in the first pokemon in the members returned from the GetGymDetails call.

I would really like how you handle this situation and see where I am going wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant