We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
akanshikumari
2 years agoExplorer | Level 3
Shared paper extension file is giving unsupported linkt_ype error when trying fetch the content
I am trying to fetch the content of a file(untitled.paper) using API: https://content.dropboxapi.com/2/sharing/get_shared_link_file
But I am getting the below shared error.
Is there a way to get the content of a shared file?
{
"error_summary": "unsupported_link_type/.",
"error": {
".tag": "unsupported_link_type"
}
}
akanshikumari Здравко is correct; the Dropbox API doesn't offer a way to do this directly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- ЗдравкоLegendary | Level 20
Hi akanshikumari,
As noted in /2/sharing/get_shared_link_file documentation:
Download the shared link's file from a user's Dropbox.In other words, you can use this access point to download... downloadable files only. 😉 The file you're trying to download is NOT a downloadable one, it is exportable!
As noted in the same documentation a bit further (error messages):
unsupported_link_type Void This type of link is not supported; use files.export instead.In other words, you can use /2/files/export to export some non downloadable file. Unfortunately, you cannot do this on link and that's why you need to save the pointed file in accessible Dropbox account (temporary is enough) using /2/files/save_url. Let's hope this imperfection will be fixed - i.e. direct export to be possible on link (as is already through web view).
Hope this helps.
- Greg-DBDropbox Staff
akanshikumari Здравко is correct; the Dropbox API doesn't offer a way to do this directly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- akanshikumariExplorer | Level 3
As mentioned in dropbox export API we need to pass the path of file in headers.. But I am not getting path for shared file/folders in any of the listed API's:
- /list_received_files
- /get_file_metadata
- /get_folder_metadata
- /get_shared_link_metadata
It should return the path_display as mentioned in the example here. Is there any solution for fetching the path display?
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 6 days 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!