Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Tshaniii
2 years agoHelpful | Level 5
dropbox file download - dbx.filesDownload
var dbx = new Dropbox({ accessToken: dbx_access_token , fetch}); await dbx.filesDownload({ path: dbx_path }).then(async (response) => { console.log("down"); awa...
Здравко
2 years agoLegendary | Level 20
Hi Tshaniii,
The error, you received, means there is no such file as pointed by your dbx_path. Do you able see the pointed file when you list your account using the same token? 🧐 Take in mind that the account views in your web view or local Dropbox folder view can differ from what you see using API if the application uses application folder permissions, not full Dropbox access! So, check that/if you can access particular file (using list) beforethat. If that's the case, you may need to cut your path to contain '/file.ext' only, since '/{App-Folder-Name}/{Folder-name}' becomes your root and if you keep it in the path the Dropbox tries to open '/{App-Folder-Name}/{Folder-name}/{App-Folder-Name}/{Folder-name}/file.ext' - something nonexisting. 😉
About how you can save to file or use particular data; you can do however you want -the same way as can be used any other data - nothing special.
Hope this helps.
PS: You're using access token to init your Dropbox client object. Keep in mind that it expires! Move to refresh token usage.
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!