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.