Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
bookerlol
5 years agoExplorer | Level 4
Access denied using shared files with password
I'm given a shared folder with the shared link information. Bare in mind, this folder is also public for anyone to view. I am specifically trying to see if shared link method works. I am also using Dropbox API v2.
Through the GUI I entered the shared link password, gained access to the shared folder, accessed the shared files, and downloaded them. I also don't need an account to do this.
However, when using the API /get_shared_link_metadata and /get_shared_link_file I get the "access_denied" for both API calls.
url, path, link_password are all correct and I made sure of it.
I even tested different parameter values just to make sure.
I also tried to programmatically implement it but get the same issue.
Is this perhaps due to a permissions settings on the person sharing the folder/files?
Are you using an API app registered with the "app folder" access type? There's currently a bug that results in this error when using this method with an access token for an app folder app. That's still open with engineering, but I don't have a timeline on a fix.
4 Replies
- Greg-DB5 years ago
Dropbox Community Moderator
Are you using an API app registered with the "app folder" access type? There's currently a bug that results in this error when using this method with an access token for an app folder app. That's still open with engineering, but I don't have a timeline on a fix.
- bookerlol5 years agoExplorer | Level 4
Ah yeah that's why. I will do a workaround this bug. Thank you Greg for the response!
- Hasan45 years agoNew member | Level 2Abid
- Greg-DB2 years ago
Dropbox Community Moderator
Update: the /2/sharing/get_shared_link_metadata and /2/sharing/get_shared_link_file endpoints (and corresponding methods in the SDKs) should now work when using an access token for an app with the app folder access type.
About Discuss Dropbox Developer & API
Make connections with 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!