cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Dropbox list folder API not returning folder items.

Dropbox list folder API not returning folder items.

Ragindev
Explorer | Level 3
Previously I have used the following API end-point to list all files in the folder
Now its not working as previous, it returns empty list
 
Is there any new API update from Dropbox. ?
2 Replies 2

Здравко
Legendary | Level 20

Hi @Ragindev,

Did you try continue listing using 2/files/list_folder/continue? 🤔 If not, give it a try. 😉

Hope this helps.

Greg-DB
Dropbox Staff

@Ragindev As Здравко noted, make sure you implement both /2/files/list_folder and /2/files/list_folder/continue. You're not guaranteed to get everything back in one call. Check out the linked documentation for more information.

 

Also, if you're using a team account, note that the team may have recently switched to the "team space" configuration. By default, API calls operate in the "member folder" of the connected account, not the "team space", so you wouldn't see anything in the team space when using the API by default. You can configure API calls to operate in the "team space" instead though. To do so, you'll need to set the "Dropbox-Api-Path-Root" header. You can find information on this in the Team Files Guide.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?