Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
softwaremedicalshare
5 years agoNew member | Level 2
JAVA API Shared Link Access Denied
Hi,
Have a JAVA application that uploads files to Dropbox, suddenly having a [Exception in 2/sharing/create_shared_link_with_settings: "access_denied" ] when trying to get the shared link. This...
- 5 years ago
I just finish a phone call with support. it was not issue with banning or permissions, it was a downloading "bandwidth" issue of the account (not a file) so I think dropbox api should address in better way the problem issue.
Thanks for your help!
Greg-DB
Dropbox Community Moderator
5 years agosoftwaremedicalshare It looks like our comments just crossed. Be sure to check out my message here.
Здравко
5 years agoLegendary | Level 20
Just for clarity: When I mentioned "and on token generation", the meaning was for queried permissions there, not eventual token break!
When you have created your application you have declared the possible scopes this application can have access to. Seems your declaration covers "sharing.write" permission needed by 2/sharing/create_shared_link_with_settings. On token generation you should select a subset of all scopes of your application (could be all available/selected for the application or less). If you have forgot some scope here, even selected for the application, it'll not be available for the application instances! That's why just "generate a new token" in such a case (if it is) wouldn't solve anything. If missing (something which I suspected), you should add it to the list of scopes in your application code (or configuration). That's it.
By the way, it's most likely Greg-DB's proposal be the real issue.
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!