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
- Bug: When creating a table, table name i...
I created a table with a typo. my_taable .... then my code couldn't find it. i updated table name and still couldn't find it. the table name doesn't update. i h...
- unexpected row_invalid_structure error
In images you can see both my code,error, column schema I do have timezone in table schema but still while creating a row i am receving row_invalid_structure e...
- Internal 500 Server Error
I don't have much information but I am unable to create anything on database, Auth users are creating but not able to fetch into database