Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
James Z.3
10 years agoNew member | Level 1
[Swifty] File search pagination problem
I have a method that counts the number of files that match a query. I'm noticing a problem where the "start" parameter isn't respected. In other words, the following calls return the exact same result: https://gist.github.com/jamesfzhang/8f5ce1bbd79161377eef
The documentation says the start parameter means "the starting index within the search results (used for paging)." So you'd expect to see different results when changing the start parameter. Can anyone else reproduce this?
EDIT: I solved the problem, it was my mistake. The offset counter I was keeping track of wasn't updating properly in the response callback.
Replies have been turned off for this discussion
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!