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
haso94
4 years agoExplorer | Level 3
How to download file from dropbox with Vue/Javascript
Hi, I have a vue application where I want to download files in a specific folder. But when I call the method to do it I am getting the following error: TypeError: Dropbox.Dropbox is not a constr...
- 4 years ago
The filesDownload method downloads a single file. If you want to download multiple files, such as all of the files in a folder, you can iterate through them and call it for each one.
If you want to download an entire folder at once, you can use filesDownloadZip instead. Note that this will give you a zip of the folder which you will need to unzip locally.
Greg-DB
4 years agoDropbox Staff
A 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens. That being the case, to make any API calls that require that scope, you'll need to get a new access token with that scope.
- haso944 years agoExplorer | Level 3
Thanks for the answer for both questions. And thanks for changing my auth key. Now I am getting a 409 error. It says my path is malformed. What I want to do is to download all images inside the following path:
path: "/test/"
test is a folder inside my dropbox I want to download all images inside it. The code is the same like in the original post with the exception of the path.
- Greg-DB4 years agoDropbox Staff
The path value should not end with a "/". For example, if the file is named "test" and is in the root, the path should be "/test". Or as another example, if the name of the file is "test.jpg" and it is inside a folder named "folder", then the path would be "/folder/test.jpg".
I recommend reading the File Access Guide for more information.
- haso944 years agoExplorer | Level 3
Ok I understand that but is there no way to download all images inside one folder in dropbox?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,887 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!