You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
bugreporter
2 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.
- Greg-DBDropbox Staff
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.
- bugreporterExplorer | 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-DBDropbox Staff
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.
5,915 PostsLatest Activity: 23 hours agoIf 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!