cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more here.

Discuss Dropbox Developer & API

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

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

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?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff

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

View solution in original post

21 Replies 21

Здравко
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.

AgentConDier
Explorer | 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...

nabeards
Helpful | 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. 😉

nabeards
Helpful | Level 6

I won't be able to get our account admin to do anything until Monday anyway, so hopefully the support team sees this and can let us know how long for a fix. Our operations are at a standstill until then.

Greg-DB
Dropbox Staff

Thanks for the report! We'll look into it and follow up here once we have an update on this.

atonderski_zen
New 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-DB
Dropbox Staff

@atonderski_zen Thanks for the note! We'll follow up here as soon as we have some news on this.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Jagadeesh Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?