Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

RGDev's avatar
RGDev
Explorer | Level 3
7 years ago

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-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    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.

  • axn40's avatar
    axn40
    New member | Level 2
    7 years ago

    Hi,

    I have the same issue, any update on the resolution?
    Thanks

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    No, unfortunately I don't have an update on this.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    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

Node avatar for 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!