cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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: 

list_shared_links

Highlighted

list_shared_links

Helpful | Level 5

 

The following cURL command works: 
curl -X POST https://content.dropboxapi.com/2/files/download \
--header "Authorization: Bearer myAccessToken" \
--header "Dropbox-API-Arg: {\"path\": \"/Public/086d3dd999a7abab.mp3\"}" \
-o "./086d3dd999a7abab.mp3"
 
The following cURL command does NOT work: 
curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \
--header "Authorization: Bearer myAccessToken" \
--header "Content-Type: application/json" \
--data "{\"path\": \"/Public/086d3dd999a7abab.mp3\", \"direct_only\": true}"
Result => {"error_summary": "path/not_found/...", "error": {".tag": "path", "path": {".tag": "not_found"}}}
 
Why doesn't this cURL command work with the same file /Public/086d3dd999a7abab.mp3?
Thanks in advance.
1 Accepted Solution

Accepted Solutions
Highlighted

Re: list_shared_links

Helpful | Level 5

Thanks, Greg, I figured it out.

View solution in original post

2 Replies 2
Highlighted

Re: list_shared_links

Dropboxer

Thanks for the report. We'll need to look into this more specifically for you. Please open an API ticket here, and also include a few sample 'X-Dropbox-Request-Id' response header values for these failures.

Highlighted

Re: list_shared_links

Helpful | Level 5

Thanks, Greg, I figured it out.

View solution in original post

Work Smarter with Dropbox

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.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?