Learn how to make the most out of the Dropbox Community here 💙!

Forum Discussion

TaxAid's avatar
TaxAid
New member | Level 1
4 days ago

Receiving Too Many Mounts error even though I do not have more than 1500 folders.

My app uses the Dropbox API to create folders, upload files and share the folders and recently I started getting an error message about exceeding the tree size. After getting this I re-organized a bunch of folders so I no longer have more than 1500 folders within 1 parent folder. I am able to create and share more folders if done through the web interface, but it doesn't seem to work through the API even after moving folders around.

I get the following response when calling the /sharing/share_folder endpoint. Is there something weird going on where Dropbox 'remembers' where a folder was when it was originally shared, and even though I've moved it, it still counts as a shared folder within it's prior parent folder?

{"error_summary": "too_many_mounts/tree_size_exceeded/.", "error": {".tag": "too_many_mounts", "too_many_mounts": {".tag": "tree_size_exceeded", "limit": 1500, "current_count": 1500, "new_count": 1501}}, "user_message": {"locale": "en", "text": "Your Dropbox account has reached the limit for shared folders."}} <br />

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    Hi TaxAid,

    There is a limit on the total number of "mounts" in an account/folder tree. For example, adding a new shared folder to an account creates a new mount, so if there's a very large number of shared folders in the account, the error 'too_many_mounts' will be triggered when you attempt to add more. There isn't an option for bypassing this limit, and we can't increase this limit for you, so you would need to reduce the number of shared folders in the account/folder tree, or use a different account/folder tree without that many mounts in it.

    I hope this information provides more clarity!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,972 PostsLatest Activity: 2 hours ago
366 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!