We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
dgnabasik
5 years agoHelpful | Level 5
list_shared_links
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"
--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}"
--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.
Thanks, Greg, I figured it out.
- Greg-DBDropbox Staff
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.
- dgnabasikHelpful | Level 5
Thanks, Greg, I figured it out.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,876 PostsLatest Activity: 6 hours 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!