cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

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: 

Re: get_shared_link_file returns HTTP error 503

get_shared_link_file returns HTTP error 503

RGDev
Explorer | Level 3

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 4

Greg-DB
Dropbox 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
New member | Level 2

Hi,

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

Greg-DB
Dropbox Staff

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

Greg-DB
Dropbox Staff

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.

Need more support?