Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
RGDev
7 years agoExplorer | Level 3
get_shared_link_file returns HTTP error 503
Hello,
I got a list of received files from list_received_files.
Then I'm trying to download a received file by using preview_url via get_shared_link_file :
import requests
import json
url = "https://content.dropboxapi.com/2/sharing/get_shared_link_file"
headers = {
"Authorization": "Bearer ***********************************************",
"Dropbox-API-Arg": "{\"url\":\"https://www.dropbox.com/scl/fi/dmy73e4jb4356xpe02hd7/simpleFile-3.txt?dl=0\"}"
}
r = requests.post(url, headers=headers)Bur for some reason this request always returns HTTP 503 (Service Unavailable).
Could you please clarify what is the reason?
4 Replies
Replies have been turned off for this discussion
- Greg-DB7 years ago
Dropbox Community Moderator
This is a known issue on our side when attempting to download from this kind of link using the /2/sharing/get_shared_link_file endpoint.
I don't have a timeline for a fix unfortunately, but I'll follow up here once I have any news.
- axn407 years agoNew member | Level 2
Hi,
I have the same issue, any update on the resolution?
Thanks - Greg-DB7 years ago
Dropbox Community Moderator
No, unfortunately I don't have an update on this.
- Greg-DB7 years ago
Dropbox Community Moderator
This should be fixed now. Please try this with /2/sharing/get_shared_link_file again and let me know if you're still seeing any issues.
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!