cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Check out the Dropbox cheat sheet for getting started in 2021 here!

Discuss Dropbox Developer & API

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

list_folder api bugs

list_folder api bugs

Explorer | Level 3

why doesn't recursive search in list_folder in business account work?

4 Replies 4

Re: list_folder api bugs

Dropboxer

I just tried the 'recursive:true' option on /2/files/list_folder[/continue] with a Business account and it's working as expected for me. Make sure you're checking the 'has_more' value in each result and calling back to /2/files/list_folder/continue if it's true.

 

 

If something still isn't working as expected, we'll be happy to look into it, but we'd need more information. In that case, reply with:

  • the name and version number of the platform and SDK/library you are using, if any
  • the steps to reproduce the issue, including relevant code snippet(s) (but don't share your access token)
  • the full text of any error or unexpected output

 

Re: list_folder api bugs

Explorer | Level 3

please tell me how to use the parameter 'has_more', here I do not see this, unfortunately https:confused face:/monosnap.com/file/L8bR77ODuDUddCfGQgz2HeHxnUngdV

Re: list_folder api bugs

Explorer | Level 3

I have the has_more attribute always empty https:confused face:/monosnap.com/file/yRkEJ3lRU6nG2wpZlCqk95nYz0vATk

Re: list_folder api bugs

Dropboxer

The 'has_more' field is a property of the response, not a parameter, so it won't be included in the API v2 Explorer "Request" section. You can find information on it in the documentation.

 

It is always set (to either true or false), so in your second screenshot it looks like there's just an issue displaying that value in whatever environment you're using. (It is shown in the API v2 Explorer, for instance.) Please refer to the documentation for your environment for information on how to print out boolean values like that.

Polls
Are you starting new work habits this year?

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?