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
Akansh Gautam
2 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.
- Greg-DBDropbox Staff
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 GautamExplorer | 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-DBDropbox Staff
Yes, those are the limits per the help center article.
About Discuss Dropbox Developer & API
Make connections with other developers
797 PostsLatest Activity: 2 days 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!