calico-crusade / WolfLive.Api

And API for connecting to and creating bots for wolf.live in C#
MIT License
5 stars 1 forks source link

Get Groupe Memeber #3

Closed KevinAnass closed 3 years ago

KevinAnass commented 3 years ago

when I want to get a list of users in a group the second time throw me this exception Error while deserializing packet: 400 { "code": 400 }

calico-crusade commented 3 years ago

Please provide more information as to the issue. I cannot recreate your issue.

KevinAnass commented 3 years ago

I explain what happens to me : first I log in to the first account and it extracts the users from group normal but when I log in to another account without refresh anything (I am using asp .net core just replace email and password input with a new one ) and login throw me this exception and not get the users Is that helpful?

calico-crusade commented 3 years ago

I still cannot recreate this issue. I've tried switching between accounts but I have not received a 400 error any of the times. Could you share the code that is causing an issue?

KevinAnass commented 3 years ago

thank you I fix it by creating a new object every time thank you but the speed of extract is slow any solution about this?

calico-crusade commented 3 years ago

This is an issue with Wolf specifically. You can only request 25 users at a time, I had to add a 1 second delay after every 100 members to avoid a service interruption, throttle or potential account bar. I explained this in #1 if you want more information. There really isn't a decent solution other than waiting for it to resolve the users list.

KevinAnass commented 3 years ago

thank you so much and i am sorry if I bothering you