For Workers & Pages, what is the name of the domain?
N/A
What is the error number?
HTTP 429
What is the error message?
Too many requests
What is the issue or error you’re encountering
Uploading many objects to R2 bucket causes HTTP 429
What steps have you taken to resolve the issue?
I’m trying to upload hundreds of thousands of files to an R2 bucket (tiled images) and have written a script that uses Wrangler to progressively upload the files to the bucket (using the wrangler r2 objects put
command). However I’m seeing that after uploading a lot of files Wrangler fails due to an “HTTP 429 Too Many Requests” response. I have worked around this by waiting for 60 seconds if the error is encountered but is there any way other way to work around this to enable bulk uploads? It’s currently slower to upload than it could be.
I’m running on Windows 10 and authenticated using the wrangler login
command.
Thank you!
What are the steps to reproduce the issue?
Run wrangler r2 objects put
command a lot.