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
nabeards
2 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!
- AgentConDierExplorer | Level 4
Same issue here. I have been using the same code and shared link for years, which stopped working two days ago.
This curl request, as generated by https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder should work as fas as I can tell:
curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header 'Authorization: Bearer [redacted]' \ --header 'Content-Type: application/json' \ --data '{"path":"","shared_link":{"url":"https://www.dropbox.com/sh/6kzom2lt4ahhr2c/AAAGC0_LBkp5htv1X8tUyOl9a"}}'
But the response has an empty entries array, and has_more is false. The files in the shared link show up just fine in a browser.
- ЗдравкоLegendary | Level 20
Oh... As seems, there is a some new bug in Dropbox API. Let's hope will be fixed by Dropbox soon...
- nabeardsHelpful | Level 6
Glad to see I'm not the only one seeing this issue. Does the Dropbox support team monitor these forums or do I need to contact support via our business account?
- ЗдравкоLegendary | Level 20
nabeards, In general it's monitored, but during weekend this monitoring is very weak. So it's likely, any move related to things mentioned here, to be performed no earlier than Monday (or even latter). Of course, Business accounts are served better, so if you want you can speed this up, probably. 😉
- Greg-DBDropbox Staff
Thanks for the report! We'll look into it and follow up here once we have an update on this.
- atonderski_zenNew member | Level 2
We are critically affected by this bug, and unable to download shared files programmatically. Please provide an update as soon as possible!
- Greg-DBDropbox Staff
atonderski_zen Thanks for the note! We'll follow up here as soon as we have some news on this.
- hero85New member | Level 2
I am also in the same boat, working application since many months suddenly stopped working on fetching the 0 entries for the shared folder.
This is effecting me very badly, Did all my best, spent 3 days and found its a serious bug in the Dropbox api due to any recent changes at their end.
Request for the earliest possible resolution.
Thanks
- ЗдравкоLegendary | Level 20
Hi nabeards,
I have a script targeting download of file from link or all files in shared folder pointed by link. This script enumerates all files in links to folders, of course. Take a look there and see if works for you.
Good luck.
- JagadeeshExplorer | 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)
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 3 hours 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!