We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Nue's avatar
Nue
Helpful | Level 6
4 years ago

Deleted files are automatically restored.

As shown in sample 1, "delete_V2" alone will succeed in deletion, but as in sample 2, the combination of "unshare Folder" and "delete_V2" will automatically restore the deleted file (folder).    ...
  • Nue's avatar
    Nue
    4 years ago

    Thank you very much. I can now reliably handle it in the following way:


    1) Unshare the folder and wait until it is complete.
    2) Wait for the folder to be re-added.
    3) Delete the folder.

     

    Note that I get a "too_many_write_operations" error when I try to delete the re-added folder immediately. So I need to wait a bit for the delete and retry the delete if I get this error.

     

    However, this way is the safest way I have ever done, as it can reliably determine the end of processing when the folder is successfully deleted.

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 20 minutes ago
325 Following

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 or Facebook.

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!