You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
djtaylor8
2 years agoNew member | Level 2
Dropbox Chooser - 403 Error Returned
We recently incorporated the Dropbox Chooser widget into our application so that users could select files from their Dropbox account and upload them directly to our server. Note that as part of our configuration, we set up the link type to be direct, so we fetch the file using the link returned from Dropbox. However, we are consistently getting 403 errors returned and I'm not quite sure how to remediate. Please let me know if you have any suggestions.
This can occur due to link restrictions that can be set that prevents links from being accessed outside of members of the shared folder or the team.
By default, links are accessible without authentication, but team admins can optionally enforce additional access controls on links for their team members in general, which also apply to the links as returned by the Chooser. Likewise, link restrictions can be set on specific shared/team folders.
Unfortunately, we don't have a good solution right now for using the Chooser in cases where restrictions on links are set like this, but I'll send this along to the team to look into how to potentially improve this.
That being the case, one alternative right now is to use the HTTP API instead, where /2/files/download isn't subject to the same restrictions as the authorized access token allows you direct access to the user's account. That would be substantially more work to implement though.
- Greg-DBDropbox Staff
This can occur due to link restrictions that can be set that prevents links from being accessed outside of members of the shared folder or the team.
By default, links are accessible without authentication, but team admins can optionally enforce additional access controls on links for their team members in general, which also apply to the links as returned by the Chooser. Likewise, link restrictions can be set on specific shared/team folders.
Unfortunately, we don't have a good solution right now for using the Chooser in cases where restrictions on links are set like this, but I'll send this along to the team to look into how to potentially improve this.
That being the case, one alternative right now is to use the HTTP API instead, where /2/files/download isn't subject to the same restrictions as the authorized access token allows you direct access to the user's account. That would be substantially more work to implement though.
- djtaylor8New member | Level 2
Thank you for the response! We found this to be the case with a shared team folder and needed to adjust the link sharing permissions accordingly.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,883 PostsLatest Activity: 2 hours 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!