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))
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