Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
If recursive is not supported by shared links, how can we use recursive.
This is the error I'm getting:
Error in call to API function "files/list_folder": Recursive list folder is not supported for shared link.
Note: I'm new to this, so please keep the answer beginner-friendly.
If you're using listFolder to list the contents of a shared link that refers to a folder, you'll need to use recursive:NO, since the recursive mode isn't supported when listing the contents of a shared link that refers to a folder.
If you need to list the contents of a subfolder inside the folder for the shared link, you need to then call listFolder again, specifying the same shared link in the sharedLink parameter, but also specifying the relative path of the desired subfolder as the path parameter (the first parameter).
You can build the relative path based on the "name" property of the relevant subfolder in the results from the first call. For example, if the results of the first call shows you that there's a subfolder named "Receipts", then you would pass in a path value of "/Receipts" to list that subfolder when you call listFolder again.
I haven't tested it completely, but It appears to be working. Thanks for helping.
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.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!