DonorDrive/PublicAPI

User getting 429 error

djotaku opened this issue · 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

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?

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

@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?

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.

@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

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!

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}
}

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.