Your workflow is unique 👨💻 - tell us how you use Dropbox here.
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
1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!