Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
mgw2007
8 years agoNew member | Level 2
API Can not download files under app Permission type App folder using API?
I created two apps one app have full access and another have folder permission access only now when I use generated token from full access permission the php API download file working fine but when...
Greg-DB
Dropbox Community Moderator
8 years agoWhen using an access token for an "app folder" app, that token will only be able to access files inside the special app folder created specifically for the app. By default, this is at /Apps/<app folder name>. That app folder is the implied root for any paths referenced by an access token for an app folder app.
So for example, if a full Dropbox app access token makes an API call to access "/test.txt", the Dropbox API will look for something at "/test.txt" in the account.
If an app folder app access token makes an API call to access "/test.txt", the Dropbox API will look for something at "/Apps/<app folder name>/test.txt" in the account. In that case, if there's nothing at "/Apps/<app folder name>/test.txt" you'll get an error.
By the way, to download files, make sure you're using /2/files/download (or the respective method in an SDK or library) to download files, and not /1/files, as the latter is part of API v1, which is deprecated and being retired soon.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!