We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
jorjbotezat
4 years agoExplorer | Level 3
Cannot access shared file
Hi.
I try to get the temporary URL using the "get_temporary_link " with an id from a file that is shared with me and every time I got this response:
409: {"error_summary": "path/not_found...
Greg-DB
Dropbox Community Moderator
4 years agoIt sounds like you're attempting to call /2/files/get_temporary_link on a file that has been individually shared with you, i.e., a "received" file, such as listed by /2/sharing/list_received_files. As this isn't mounted anywhere in your account, this 'path/not_found' error is expected, since the file is not available in your account's file/folder structure and so cannot be accessed that way. This would also apply to /2/files/download. Adding a shared folder containing the file mounts that shared folder in your account, making the file available in your account, so the calls can then succeed.
I don't believe this behavior changed recently. You can instead use /2/sharing/get_shared_link_file and pass in the "preview_url" (e.g., from /2/sharing/list_received_files) as the "url" to download the file though.
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!