cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you using the Microsoft co-authoring beta for Dropbox? Share your feedback and learn more about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dbx.files_list_folder_continue(curson) fails when using SharedLink

dbx.files_list_folder_continue(curson) fails when using SharedLink

docetnik
New member | Level 2

Hi, 

I am listing a password-protected folder shared via a link. 

 

result = dbx.files_list_folder(path=root, shared_link=dropbox.files.SharedLink(url=url, password=password))
for entry in result.entries:
if isinstance(entry, dropbox.files.FolderMetadata):
# do some action with a folder
else:
# do some action with a file

while
result.has_more:
result = dbx.files_list_folder_continue(result.cursor)
for entry in result.entries:
if isinstance(entry, dropbox.files.FolderMetadata):
# do another action with a folder
else:
# do another action with a file

 

dbx.files_list_folder() call goes through all right, however dbx.files_list_folder_continue(result.cursor) fails everytime and the message is not very explanatory:

dropbox.exceptions.ApiError: ApiError('5c91fda84dd6487b9357c3a72be962e7', ListFolderContinueError('path', LookupError('not_found', None)))

Any guesses what is wrong? Cheers.

2 Replies 2

Greg-DB
Dropbox Staff

Thanks for the report! This looks like it may be a bug on our side. We'll look into it and I'll follow up here with any updates.

Greg-DB
Dropbox Staff

This should be fixed now. Note that using cursors retrieved before the fix will still result in an error though.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?