Rate Limiting on Recursive Deletes
AnsweredHello!
I have a batch process that is going through a list of folders and executing a call to DELETE https://api.box.com/2.0/folders/:folder_id/ with recursive=true. After a while I start to get 429 Too Many Requests error. My batch process is clearly not reaching the documented API rate limits is it is making these calls at about 1 per second.
My question is, if I delete a large folder with recursive=true, will the operation of deleting each of the underlying folders/files count additionally against the API rate limit even though I am not explicitly making the call to those underlying files/folders?
Thanks!
-
Official comment
Hi,
Any actions a user id is taking (including those on the backend) count toward the rate limits. I imagine if you are deleting a large folder with lots of children, there is a possibility you are hitting the limit.
Thanks,
Box Developer Advocate
Comment actions
Please sign in to leave a comment.
Comments
3 comments