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` specifie...
- 2 years ago
This should be fixed now. Please let us know if you're still seeing any issues. Thanks!
Jagadeesh
Explorer | 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)
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
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!