Want to know more about Dash? Check out how Amy uses Dropbox and Dash to make her day easier here!
Forum Discussion
bugreporter
7 months agoExplorer | Level 3
Share_folder endpoint returning too_many_mounts/tree_size_exceeded
An operation that worked perfectly fine before now returns the following error:
makeDropboxRequest: https://api.dropboxapi.com/2/sharing/share_folder
Error making Dropbox request: too_many_mounts/tree_size_exceeded/
Network error making request to https://api.dropboxapi.com/2/sharing/share_folder: Error: too_many_mounts/tree_size_exceeded/
The process leading up to this error:
1-4 subfolders are created, of which the parent (main) folder housing those 4 subfolders is shared so that groups can be assigned to have access to it. Other than that the folder is empty, and the subfolders are empty as well.
This never happened before, so I'd like to know what changed so that we can apply a workaround.
3 Replies
- Greg-DB7 months ago
Dropbox Community Moderator
I understand you're using the Dropbox API to create shared folders in an account and are receiving a 'too_many_mounts/tree_size_exceeded' error. This is a limit on the number of "mounts" in a folder tree. On Dropbox, "mounts" include both team folders and shared folders. Sharing a folder in an account creates a new mount, so because of the very large number of existing mounts in the filesystem, this error will be triggered when you attempt to make more. There isn't an option for bypassing this limit, so you would need to reduce the number of shared/team folders in the folder tree, or use a different folder tree or account without that many mounts in it.
- bugreporter7 months agoExplorer | Level 3
So what is the intended solution if we want to create shared folders and assign groups to them? Permanently deleting folders is not an option. We create 3-4 folders per project and we do around 1500 projects a year, every folder needs to be a shared folder otherwise we can not assign groups to access them based on the project requirements.
- Greg-DB7 months ago
Dropbox Community Moderator
Unfortunately there isn't an option for removing or bypassing this limit; to avoid this error, you'd need to bring the number below the limit, or use a different folder tree/account.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,018 PostsLatest Activity: 2 years ago
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 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!