PublicAPI icon indicating copy to clipboard operation
PublicAPI copied to clipboard

User getting 429 error

Open djotaku opened this issue 4 years ago • 8 comments

User of my software https://github.com/djotaku/ELDonationTracker is getting 429. I'm able to change my user ID to be her without issue. I used my software today so I know I'm not hitting the API too hard. Ideas on why she can't access the API?

Thanks

djotaku avatar Oct 31 '21 17:10 djotaku

Hey @djotaku , the 429 indicates that the user in question was rate limited. We try to be as lax as possible with the rate limiting policy while still ensuring platform stability. Improving the integration experience is something I'm hoping we can revisit well ahead of game day 2022 to mitigate these kinds of issues. In the meantime: have you verified the user in question is still encountering the rate limit response?

timmixell avatar Nov 01 '21 12:11 timmixell

Hey @timmixell - we actually talked about this yesterday in the donordrive-support channel of Discord. You can find the discussion at https://discord.com/channels/301922093258375179/363006542880047104/904398150628937758

Technical-13 avatar Nov 01 '21 18:11 Technical-13

@timmixell I can attest that I am getting a 429 error in my application which is triggering requests to the donordrive API every three minutes.

How is the system determining when it should return 429? Is this based on an IP address for a client? It seems like no matter what I am doing right now I'm getting 429.

@Technical-13, I am not able to access that discord. What is the code for donordrive-support so I can join the discord on behalf of my group?

keithdhodo avatar Nov 01 '21 21:11 keithdhodo

Hey @djotaku , the 429 indicates that the user in question was rate limited. We try to be as lax as possible with the rate limiting policy while still ensuring platform stability. Improving the integration experience is something I'm hoping we can revisit well ahead of game day 2022 to mitigate these kinds of issues. In the meantime: have you verified the user in question is still encountering the rate limit response?

She's still having the issue. It's my usual app, so she's not doing anything to cause rate limiting since it's not checking too often and it works for me using the same app. I was going to try a "fake" User-Agent if that would help with CloudFare, but I'd prefer to do things the right way if I can.

djotaku avatar Nov 02 '21 01:11 djotaku

@Technical-13, I am not able to access that discord. What is the code for donordrive-support so I can join the discord on behalf of my group?

https://discord.gg/XDqaYAcehM

Technical-13 avatar Nov 02 '21 01:11 Technical-13

A 3 minute interval shouldn't be kicking off any restrictions. I'll need to take this to our infrastructure team for further guidance. I see the convo you all are having in the Discord channel. We may reach out to you individually if we need additional information. Thanks!

timmixell avatar Nov 02 '21 10:11 timmixell

My issues has been resolved. Resolution: I added user-agent headers and worked with the DonorDrive team to get my value I was passing for user-agent added to an allowed list.

Headers = { USer-Agent: {myvalue} }

keithdhodo avatar Nov 03 '21 22:11 keithdhodo

My user is OK now. Not sure if she got a new IP address or if it was coincidental. Feel free to close if everyone else is satisfied with the current situation.

djotaku avatar Nov 03 '21 23:11 djotaku