Hi! I need to delete a huge amount documents from a collection. I created a cloud function to do this. But I can only delete 60 documents, it shows me a rate limit error after that. From the documentations, the rate limit for deleteDocument is said to be 60 requests per minute. How can I increase it? Thanks. PS: I'm using an API key, and the function does run on the server.
I think I found the solution! Will just disable the abuse protection variable for a bit.
Not a solution. Supposedly by using the API key correctly you should not see any limit. Did you have added the correct scopes in the API key?
Also are you sure you're setting it correctly?
If I didn't set the correct ones, I suppose the documents would not delete at all, right?
And, the documentations say there's a rate limit, even when I click on the nodejs server side from the dropdown.
If they have delete permissions, they would delete
Supposedly when using an API key that should bypass the limit
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly