We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

pyraxic's avatar
pyraxic
Helpful | Level 6
7 years ago

Error downloading files from dropbox API

I am trying to download files from dropbox but keep hitting the ValidationError.   for dfiles in flist: dbx.files_download_to_file('/Users/fela/Downloads/dropbox', dfiles, rev=None) Her...
  • Greg-DB's avatar
    Greg-DB
    7 years ago

    You do need to use the full path when specifying the file you want to download. Using files_list_folder and files_list_folder_continue will give you every entry, and you can get the full path from the returned (File)Metadata.path_lower. (I.e., use `entry.path_lower` instead of `'/'+entry.name`.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 16 minutes ago
325 Following

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 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!