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

saeeda's avatar
saeeda
New member | Level 2
3 years ago

files/list_folder/continue

Hey, When calling files/list_folder and the has_more parameter its 'true' we make another call to /list_folder/continue with the new cursor And so on. The problem that we faced is that the entries ...
  • Здравко's avatar
    Здравко
    3 years ago

    Hi saeeda,

    As your code is not fully represented, may be something lefts hidden. 🤔


    saeeda wrote:
    ...
    httpService.get('/dropbox/listfolders', {"cursor": cursor})// this endpoint from our server side when the cursor !== '' then call continue
    ...

    ...


    "then call continue" - Are you sure? It looks like it's not and you are falling in infinite recursion loop. 🤷

    In case you are starting from beginning every loop step, then the list is normal to be the same, despite different cursor as result on every query! Be more careful. Check what's inside your 'get' method! Does the end point change as you have declared in comment? 🧐

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days 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!