You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

RGDev's avatar
RGDev
Explorer | Level 3
6 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?

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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

      Hi,

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

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

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

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 3 years ago
325 Following

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 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!