Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
skysync
8 years agoExplorer | Level 3
delete_batch returns internal error consistently when deleting more than 3425 files
I was using the delete API call to remove a folder that contained more than 10k files when I saw the too_many_files error. I switched over to the delete_batch API call in order to bypass this error,...
Greg-DB
Dropbox Community Moderator
8 years agoThanks! These two jobs that returned an empty response actually completed. If you check the file listing, you should see the changes reflected. They're just hitting a different issue where the call to check the job status itself failed (with a 500 error). We're looking into that.
Are you still seeing jobs explicitly returning internal_error now though? If so, please share one of those job IDs so I can check on it for you. Thanks!
If you're not seeing them anymore, they were likely just transient server-side issues. You should have your app retry the jobs (i.e., run them again, don't just check the status again) when it fails with internal_error.
Are you still seeing jobs explicitly returning internal_error now though? If so, please share one of those job IDs so I can check on it for you. Thanks!
If you're not seeing them anymore, they were likely just transient server-side issues. You should have your app retry the jobs (i.e., run them again, don't just check the status again) when it fails with internal_error.
skysync
8 years agoExplorer | Level 3
These jobs never removed the files. I've been running additional testing using the same directory and adding and removing files. I assumed the job ID was being used to look at logs, etc. Sorry I didn't leave the directory in tact for troubleshooting. My code is setup to retry whenever I hit those errors, but the errors are fairly frequent and I rairly received a success when I sent 7000+ files at a time. I received the most consistent results around 3000 or 4000 files per request.
- Greg-DB8 years ago
Dropbox Community Moderator
Thanks! I'll need to investigate further. Can you supply the latest job ID that explicitly failed with internal_error? Thanks in advance!
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!