cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it 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

Андрей Г.2
Explorer | Level 4

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

4 Replies 4

Re: list_folder api bugs

Greg-DB
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

Андрей Г.2
Explorer | Level 4

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

Re: list_folder api bugs

Андрей Г.2
Explorer | Level 4

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

Re: list_folder api bugs

Greg-DB
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.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Андрей Г.2 Explorer | Level 4
What do Dropbox user levels mean?
Need more support?