We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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,877 PostsLatest Activity: 26 minutes ago
325 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!