Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
nabeards
3 years agoHelpful | Level 6
files/list_folder API returns no entries after using new Shared Links
With the new Shared Links released recently I am now getting an empty list of files available at the Shared Link URL. I am calling the `files/list_folder` API endpoint with the `shared_link` specified as a URL (per https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder ). Previously, the `entries` returned would have the list of files available at the shared link. Now I just get an empty array. I have confirmed the files are there, and have created new Share Links on folders I previously shared without issue, and they are now broken.
Can you please either fix this issue or inform me how I am supposed to view the contents of these Shared Links now?
This should be fixed now. Please let us know if you're still seeing any issues. Thanks!
21 Replies
Replies have been turned off for this discussion
- Jagadeesh3 years agoExplorer | Level 4
Hi
We are using dropbox.files.SharedLink with dropbox.files_list_folder to download shared links, and it stopped working since last night. we are getting empty list for "entries" while the folder does have some files. Below is the code:
links = ["https://www.dropbox.com/xx/xx/xxxxxxxxxxx&dl=0"]
dropbox = dropbox.Dropbox(oauth2_access_token=access_token, oauth2_refresh_token=refresh_token, app_key=app_key, app_secret=app_secret)
filecount = {}
all_files = []
for link in links:
filecount[link] = 0
shared_link = dropbox.files.SharedLink(url=link)
entries = dropbox1.files_list_folder(path='', shared_link=shared_link, limit=2000)
while True:
filecount[link] += len(entries.entries) # ***here entries.entries is an empty list
if not entries.has_more:
break
entries = dropbox1.files_list_folder_continue(entries.cursor)
print(filecount) - Здравко3 years agoLegendary | Level 20
- Jagadeesh3 years agoExplorer | Level 4
Thank you
- Greg-DB3 years ago
Dropbox Community Moderator
Yes, as Здравко said, this is a known issue. The team is working on it and we'll follow up once we have a update on it.
- Jagadeesh3 years agoExplorer | Level 4
+1 on this, we are affected as well by this and waiting on fix.
- vici4a3 years agoNew member | Level 2
+1 the same problem here
- Greg-DB3 years ago
Dropbox Community Moderator
Thanks for the notes! The team is working on a fix, and I'll follow up here once it's deployed.
- Greg-DB3 years ago
Dropbox Community Moderator
This should be fixed now. Please let us know if you're still seeing any issues. Thanks!
- Greg-DB3 years ago
Dropbox Community Moderator
This should be fixed now. Please let us know if you're still seeing any issues. Thanks!
- Jagadeesh3 years agoExplorer | Level 4
I confirm this is working now. Amazing team Greg-DB . Thank you so much for your support.
..Jagadeeshwar
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!