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
docetnik
3 years agoNew member | Level 2
dbx.files_list_folder_continue(curson) fails when using SharedLink
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,916 PostsLatest Activity: 31 minutes ago
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!