Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
DragonWhisperer
3 years agoExplorer | Level 4
get_shared_link_metadata API problem with the new '/scl' folder links.
Hello, I think get_shared_link_metadata API has a bug with the new "/scl" links.
When I send it a link to a shared folder and path to a file inside it:
// https://api.dropboxapi.com/2/sharing/get_shared_link_metadata
{path: "/001 (2).zip",
url: "https://www.dropbox.com/scl/fo/ppu9pgy84/h?rlkey=90bu"}
The response is:
{
".tag": "file",
"url": "https://www.dropbox.com/scl/fo/ppu9pgy84/h?rlkey=90bu&dl=0",
"id": "id:2UW_T...",
"name": "001 (2).zip",
}
In the past, the returned "url" was direct to the file, but now it's just the same folder url with "&dl=0".
I need the direct link. later I need to convert it to a direct download link to the file.
Please help.
10 Replies
- Здравко3 years agoLegendary | Level 20
Hi DragonWhisperer,
Yes, it's so unfortunately. But one thing, you state isn't so - the links have always included "&dl=0"! Something you can change it later. Let's see how long will take to becomes that fixed up. In meantime you can use workaround like the one I posted here. 😉 It works for all kind of links to folder and is much faster (no individual call for every link). The example is in Python, but you can use it as you like.
Good luck.
- DB-Des3 years ago
Dropbox Community Moderator
Hi there,
Thanks for the report! We're investigating this API issue. I'll follow up here once I have an update.
- DragonWhisperer3 years agoExplorer | Level 4
Thank you Здравко
In your solution you are using list_shared_link_folder_entries API, but it's a private API. Here Greg-DB said "that is not officially supported".
- Здравко3 years agoLegendary | Level 20
DragonWhisperer wrote:..., but it's a private API. Here Greg-DB said "that is not officially supported".
Yes, DragonWhisperer - not officially supported. 😁 But works! In this context, does the API access point you tried work? 😉 Here supported and unsupported are relative things. The access point I posted works for years and stays unaffected by any "stresses" throughout. You can choose to use non working but supported, of course. 🤫
The choice is yours. Good luck.
PS: Dropbox definition of supported and unsupported (if any) is very funny sometimes. The statement you saw (and pointed) is definitely NOT the most absurd one.
- DragonWhisperer2 years agoExplorer | Level 4
Any update?
- Greg-DB2 years ago
Dropbox Community Moderator
DragonWhisperer No, I don't have an update on this yet.
- Greg-DB2 years ago
Dropbox Community Moderator
This should be fixed now. Please try again and let us know if you're still seeing any issues. Thanks!
- DragonWhisperer2 years agoExplorer | Level 4
Thank you!
- victor12342 years agoNew member | Level 1
I don't think this is fixed yet. Could you please take a look? Greg-DB
- Greg-DB2 years ago
Dropbox Community Moderator
victor1234 I just tried this and it appears to be working for me currently.
If this doesn't seem to be working as expected for you, I'll be happy to help, but I'll need some more information. In that case, please reply with:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s), or app secret
- the full text of any error or unexpected output
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!