You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

seanreilly's avatar
seanreilly
Explorer | Level 4
7 years ago

objc API: filesRoutes listFolder method not returning files

Hello, My app has been on the iOS app store for years syncing successfully with dropbox. In the past few days many customers have encountered an error that seems to be a result of the following met...
  • Greg-DB's avatar
    7 years ago

    I see you're calling listFolder, but aren't calling listFolderContinue. You aren't always guaranteed to get all entries returned by calling just listFolder. You need to check the result, and if DBFILESListFolderResult.hasMore is true, call back to listFolderContinue to get more results (and the same for the listFolderContinue result). You can find more information in the listFolder documentation.

     

    The requirement to check hasMore and use listFolderContinue as directed has always been part of API v2. Whether or not hasMore actually comes back as true in practice however depends on a variety of factors that can change over time, per account, and per path. Due to some backend updates, how often this does happen may be increased right now, but we're working on improving that. In any case though, you'll still need to have listFolderContinue implemented to guarantee that you get all of the results.

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,912 PostsLatest Activity: 3 hours ago
333 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!