Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Akansh Gautam
3 years agoExplorer | Level 4
Shared Folder Limit on Team Account
Hi Team,
I am working on Team Account for development majorly on sharing folder and shared folders.
Code for sharing folder
try:
response = dbx_client.with_path_root(
path_root=pr
).sharing_share_folder(path=f"{path}", force_async=force_async)
if response.is_complete():
return response.get_complete()
return response
except DropboxException as e:
Logger.info(e)
Suddenly this api starts giving error, after some logs i found error (below)
re=dbx_client.with_path_root(path_root=pr).sharing_share_folder(path="/AppsTest/Cases/Beta/Demo_")
res res res <dropbox.dropbox_client.RouteErrorResult object at 0x7fa0116a9b80>
Error Log -----, deserialized_result ShareFolderError('other', None)
Error Log -----, user_message_text Your Dropbox account has reached the limit for shared folders.
Error Log -----, user_message_locale en
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/t2b/Documents/tc/venv/lib/python3.8/site-packages/dropbox/base.py", line 4911, in sharing_share_folder
r = self.request(
File "/home/t2b/Documents/tc/venv/lib/python3.8/site-packages/dropbox/dropbox_client.py", line 352, in request
raise ApiError(res.request_id,
dropbox.exceptions.ApiError: ApiError('fbcc140666624171a803aaaed555ffeb', ShareFolderError('other', None))
res res res <dropbox.dropbox_client.RouteErrorResult object at 0x7fa0116a9b80>
Error Log -----, deserialized_result ShareFolderError('other', None)
Error Log -----, user_message_text Your Dropbox account has reached the limit for shared folders.
Error Log -----, user_message_locale en
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/t2b/Documents/tc/venv/lib/python3.8/site-packages/dropbox/base.py", line 4911, in sharing_share_folder
r = self.request(
File "/home/t2b/Documents/tc/venv/lib/python3.8/site-packages/dropbox/dropbox_client.py", line 352, in request
raise ApiError(res.request_id,
dropbox.exceptions.ApiError: ApiError('fbcc140666624171a803aaaed555ffeb', ShareFolderError('other', None))
After reading some discussion I found that I can create only 1500 shared folder inside a folder and 300000 for overall team account.
My questions:
1. Does base folder also included in count
example in my root folder the struture is /AppsTest/Cases.....
I am creating shared folder inside AppsTest (not able to create now)
2. Is there any api for shared folder count or any other workout to get exact number of count of shared folders in side root folder.
Please reply asap.
Thanks and Regards
1. No, the count for this limit is only referring to shared folders, not unshared parent folders.
2. The Dropbox API doesn't offer a way to just retrieve the current count with the Python SDK, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You can use sharing_list_folders and sharing_list_folders_continue to list and count shared folders as needed however.
5 Replies
Replies have been turned off for this discussion
- Greg-DB3 years ago
Dropbox Community Moderator
1. No, the count for this limit is only referring to shared folders, not unshared parent folders.
2. The Dropbox API doesn't offer a way to just retrieve the current count with the Python SDK, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You can use sharing_list_folders and sharing_list_folders_continue to list and count shared folders as needed however.
- Akansh Gautam3 years agoExplorer | Level 4
Hi Greg-DB thanks for reply
And for the limit in team account is 1500 shared folder for a particular folder and 30K for whole team account?thanks and regards
- Greg-DB3 years ago
Dropbox Community Moderator
Yes, those are the limits per the help center article.
- Akansh Gautam3 years agoExplorer | Level 4
Hi Greg-DB
Thanks for response.
I am working on team account and at root I have a folder named AppsTest (It has a shared_folder_id , using files_get_metadata api) so it it a shared folder?
In it I have another folder named Cases (AppsTest/Cases), it doesn't have any shared folder id, i.e. it is not shared folder?
1. So my first question is shared folder are only those which has shared_folder_id?
2. As you can see in screenshot Cases (no shared_folder_id), Beta (has Shared_folder_id), 2023 (not shared_folder_id) next Discharge has (shared_folder_id)
so for api limit of 1500 from where count is started?
is it from AppsTest or where?
Please reply asap
Thanks and Regards
- Greg-DB3 years ago
Dropbox Community Moderator
1. Yes, folders that are not shared folders would not have shared_folder_id set.
2. The "Within a single folder, you can create up to 1,500 shared subfolders" limit applies to the number of shared folders underneath any folder.
About Discuss Dropbox Developer & API
Make connections with other developers
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!