cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

files/list_folder and MANUALLY created shared link

files/list_folder and MANUALLY created shared link

Feniksss
Explorer | Level 3
Go to solution

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!

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

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
Need more support?
Who's talking

Top contributors to this post

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