We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
E_Fuks
4 years agoHelpful | Level 5
API Lock Files Batch works for some files and then stops working
Hi, we have build a script which locks files in the dropbox. For a big amount of roughly 100.000 files it works great. We have split the data in chunks of 2500 files, so that the API works. Doin...
E_Fuks
4 years agoHelpful | Level 5
Thanks, that was also my initial thought. But we get a error argument list too long using 5000 files or more.
That's why we dropped the quantity of files.
Здравко
4 years agoLegendary | Level 20
E_Fuks wrote:... For a big amount of roughly 100.000 files it works great. ...
E_Fuks wrote:... But we get a error argument list too long using 5000 files or more. ...
Don't you contradict to yourself? 😁
Anyway... When and if the files count is too big, just decrease it. When and if overload happens, just delay and repeat the call and, if need, increase exponentially the delay. 😉 That's it.
Good luck.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!