cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

/list_folder/continue Always empty

New member | Level 2
New member | Level 2

I can't seem to return files from the /list_folder/continue API v2.

I am using a development app with auto generated access token to do the following:

1. Call /list_folder/get_latest_cursor - which returns a cursor

2. Call /list_folder/continue - with the cursor just retrieved from the previous call.

The { entries: [] } property is always empty. Can't get any files back from it, no matter which cursor I'm using, even with recent modifications to files in the app directory.

Even if I use the cursor returned by /list_folder, it still returns empty.

Any ideas?

3 Replies 3
Highlighted

Re: /list_folder/continue Always empty

Dropboxer
Dropboxer

/list_folder/continue should return files that have changed since the time you got the cursor. Have you made file changes since obtaining the cursor? Also check if you're passing true or false for the "recursive" field. (Perhaps the file changes you made are to a subfolder, but you're using making a non-recursive call to /list_folder/continue?)

Highlighted

Re: /list_folder/continue Always empty

New member | Level 2
New member | Level 2

Thanks Steve - didn't realize I needed to store a cursor on my local side. I assumed the /list_folder/get_latest_cursor would give me a cursor which would show the latest changes...

I just grabbed a cursor, made a change, and used the cursor, and got the results I expected.

Thanks for the super-fast response

Highlighted

Re: /list_folder/continue Always empty

Dropboxer
Dropboxer

My pleasure! I'm glad you got things working.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?