Hi dev fellas,
I’m trying to retrieve the details of many bundles (around 500–600) using the GetBundleDetailsAsync()
method. However, since I have to make a separate request for each bundle, I’m running into Roblox’s rate limit (120 requests per minute), which results in a “429 Too Many Requests” error and forces me to wait before continuing.
Is there any way to work around this or at least reduce the wait time?
You can set up a system that queues your requests.
Knowing that the rate limit is 120 requests/min, you can keep track of how many requests you’ve made in the last minute and if it exceeds the rate limit, you can queue further requests. Then when that rate limit is over, you can send those requests out. Furthermore, you should use pcalls to ensure that requests aren’t lost or anything.
1 Like