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
Feniksss
5 years agoExplorer | Level 3
files/list_folder and MANUALLY created shared link
Hello.
I have created the shared link to folder in my application directory, for example: Apps/AppFoldername/Foldername
And I want to get list of all files from this directory by API.
I made the request with parameters:
{ "shared_link":{"url":"https:\/www.dropbox.com\/sh\/test\/test?dl=0"},"path":"" }
where
https:\/www.dropbox.com\/sh\/test\/test?dl=0
is my shared link, which I created by WEB interface of dropbox.
But I received the response with error:
{ "error_summary": "path/not_found/", "error": { ".tag": "path", "path": { ".tag": "not_found" } } }
How I can get the list of files? Thanks!
You don't need to escape the "/" characters in the the shared link URL you send to Dropbox. Are you actually sending those "\/" like that, or is that just some special escaping you need to do first in your environment? Even if so, you're missing one in the initial "https://".
The "url" value you send should look like:
https://www.dropbox.com/sh/abc1234/ABCD1234efghi?dl=0
- Greg-DBDropbox Staff
You don't need to escape the "/" characters in the the shared link URL you send to Dropbox. Are you actually sending those "\/" like that, or is that just some special escaping you need to do first in your environment? Even if so, you're missing one in the initial "https://".
The "url" value you send should look like:
https://www.dropbox.com/sh/abc1234/ABCD1234efghi?dl=0
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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!