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? 🧐