How do you modify every KV entry without

How do you modify every KV entry without being ratelimited? "Error: Too many API requests by single worker invocation."
5 Replies
thomasgauvin
thomasgauvin5mo ago
The API has lower rate limits than the binding does, I would recommend trying that path as well. We're aware of the API's rate limiting constraints and looking for opportunities to improve there, so the recommendation for the time being is to use the binding.
Anthony
AnthonyOP5mo ago
I actually used the binding for this. I am not using the REST API.
Marcus
Marcus5mo ago
The binding is limited to 1000/request, right?
Anthony
AnthonyOP5mo ago
yeah
thomasgauvin
thomasgauvin5mo ago
The REST API for Workers KV can be used to have bulk uploads, perhaps that can help here? https://developers.cloudflare.com/api/operations/workers-kv-namespace-write-multiple-key-value-pairs
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Want results from more Discord servers?
Add your server