We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
sosnos
5 years agoExplorer | Level 4
Download on scoped app
I got a Scoped App (App Folder) where I put a JPG image and now I want to download it with my Javascript app, on a Node JS environment. When I try to use the "filesDownload" method, I get the error ...
- 5 years ago
This error message indicates that your API app has the "app folder" access type, but you're supplying the "Dropbox-API-Path-Root" header. For example, in the Dropbox API v2 JavaScript SDK, you might be setting that via the pathRoot option on the Dropbox object.
Apps with the app folder access type are restricted to their own app folder, and so cannot access other roots. That being the case, you should not attempt to set another path root when using an access token for an app with the app folder access type, so don't set the pathRoot option.
Also, regarding your path value, note that you should not include the path to your app folder itself. To access a file in your app folder, you would just use a path relative to the app folder, like "/MyImage.jpg".
Greg-DB
Dropbox Staff
This error message indicates that your API app has the "app folder" access type, but you're supplying the "Dropbox-API-Path-Root" header. For example, in the Dropbox API v2 JavaScript SDK, you might be setting that via the pathRoot option on the Dropbox object.
Apps with the app folder access type are restricted to their own app folder, and so cannot access other roots. That being the case, you should not attempt to set another path root when using an access token for an app with the app folder access type, so don't set the pathRoot option.
Also, regarding your path value, note that you should not include the path to your app folder itself. To access a file in your app folder, you would just use a path relative to the app folder, like "/MyImage.jpg".
BillyVail
2 years agoNew member | Level 2
This fix didn't work for me! I still get the error 😞
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 8 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!