cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: files/list_folder API returns no entries after using new Shared Links

files/list_folder API returns no entries after using new Shared Links

nabeards
Helpful | Level 6
Go to solution

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?

21 Replies 21

hero85
New member | Level 2
Go to solution

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

Jagadeesh
Explorer | Level 4
Go to solution

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)

Здравко
Legendary | Level 20
Go to solution

@Jagadeesh, Yes, it's known bug. Take a look here.

Let's hope will be fixed soon.

Jagadeesh
Explorer | Level 4
Go to solution

Thank you 

Greg-DB
Dropbox Staff
Go to solution

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.

Jagadeesh
Explorer | Level 4
Go to solution

+1 on this, we are affected as well by this and waiting on fix.

vici4a
New member | Level 2
Go to solution

+1 the same problem here

Greg-DB
Dropbox Staff
Go to solution

Thanks for the notes! The team is working on a fix, and I'll follow up here once it's deployed.

Greg-DB
Dropbox Staff
Go to solution

This should be fixed now. Please let us know if you're still seeing any issues. Thanks!

Greg-DB
Dropbox Staff
Go to solution

This should be fixed now. Please let us know if you're still seeing any issues. Thanks!

Need more support?