Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm just getting started with the Dropbox API. I want to see a list of all files in my `Camera Uploads` folder (and eventually download them) via the api. I've been following some tutorials and have tried the following:
import { Dropbox } from 'dropbox'; const accessToken = "<my token>"; const dbx = new Dropbox({ accessToken, fetch, }); dbx .filesListFolder({ path: '/Camera Uploads', }) .then((response) => console.log(response));
but I get the following 409 error:
"path/not_found/."
Can anybody help? I've tried variations on the 'path' property but can't get anything to work.
A 'path/not_found' error indicates that there's nothing at the specified path, in this case, '/Camera Uploads'. There's a few reasons this might be the case:
A 'path/not_found' error indicates that there's nothing at the specified path, in this case, '/Camera Uploads'. There's a few reasons this might be the case:
I get it now. When I created my app, I selected the wrong option for granting access to files.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter 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!