cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more 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: 

list_folder limit is not documented

list_folder limit is not documented

Artem K.
New member | Level 1

I cannot find in the documentation for http endpoint https://api.dropboxapi.com/2/files/list_folder the maximum number of files that is retrieved in one call. From the fact it returns has_more property in the response, I assume there must be a limit. I would like to know what that limit is.

7 Replies 7

Greg-DB
Dropbox Staff

We don't guarantee any particular page size, and I believe it can vary in practice. Apps should always just check has_more and call back to /files/list_folder/continue if it's true, and so on.

Artem K.
New member | Level 1

Understood, thank you

Tom B.38
New member | Level 1

I understand that there is no guarantee. However I would like to test my /files/list_folder/continue logic. Can we get a rough estimate? Or is there a way for me to set the limit for testing purposes?

Greg-DB
Dropbox Staff

If I recall correctly, I believe you should get multiple pages after around 1,000 items. There isn't a way to force the limit though.

Tom B.38
New member | Level 1

Thanks, I'll give that a go.

Tom B.38
New member | Level 1

For anyone else looking. I got a second page at 2000 files exactly. Guess YMMV though.

Greg-DB
Dropbox Staff
I just wanted to follow up here to let you know that you can now set an approximate limit on the list_folder page size using the "limit" parameter:

https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder

Hope this helps!
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Tom B.38 New member | Level 1
What do Dropbox user levels mean?