Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Until two weeks ago, running the below code would return a hash for sharing_info of each entry. But now it's returning none. Can anyone tell me whats going on?
Using python documention found here:
http://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#module-dropbox.files
files_list_folder(path, recursive=False, include_media_info=False, include_deleted=False, include_has_explicit_shared_members=False)
My code:
entries = dbx.files_list_folder('myfolder',recursive=True)
Sample of 2 entry results:
FileMetadata(name=u'brei3389_2016_8879-signed.pdf', id=u'id:2SS_0foZgqYAAAAAAAodvw', client_modified=datetime.datetime(2017, 2, 28, 3, 16, 31), server_modified=datetime.datetime(2017, 5, 8, 18, 24, 33), rev=u'27ade301577694', size=224825, path_lower=u'/brian alan lang ea/work papers/bravo/breit/2016/brei3389_2016_8879-signed.pdf', path_display=u'/brian alan lang ea/work papers/bravo/breit/2016/brei3389_2016_8879-signed.pdf', parent_shared_folder_id=None, media_info=None, sharing_info=None, property_groups=None, has_explicit_shared_members=None, content_hash=u'6025e1a0e7ed65ddab7cc395fdd3e42132ae5e11584f027cb46eb3af967c44e7'), FileMetadata(name=u'Brei3389_2016_Lyft.png', id=u'id:2SS_0foZgqYAAAAAAAodvg', client_modified=datetime.datetime(2017, 2, 24, 12, 12, 45), server_modified=datetime.datetime(2017, 5, 8, 18, 24, 33), rev=u'27ade401577694', size=111115, path_lower=u'/brian alan lang ea/work papers/bravo/breit/2016/brei3389_2016_lyft.png', path_display=u'/brian alan lang ea/work papers/bravo/breit/2016/Brei3389_2016_Lyft.png', parent_shared_folder_id=None, media_info=None, sharing_info=None, property_groups=None, has_explicit_shared_members=None, content_hash=u'30d161a17054b38e9b74dc2a7f43b5f6a1f1180a7aeb2079129b5945c3f7f361'),
As you can see it shows sharing_info=None where it used to return:
"sharing_info": { "read_only": true, "parent_shared_folder_id": "84528192421", "modified_by": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc" },
Hey Greg thanks for the response.
The folders within that folder are shared with various individuals. Those are the folder which I want sharing info on. So they are partially shared, not open to anyone.
Yet they dont show sharing info.
Any advice you have?
Hi there!
If you need more help you can view your support options (expected response time for a 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!