We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
escanzano
3 years agoNew member | Level 2
Download a single file but getting API error
I have a file at /Commercial/Revenue Cycle/RC Tracker_Automated.xslx.
metadata = dropbox.client.files_download_to_file(path="/Commercial/Revenue Cycle/RC Tracker_Automated.xlsx", download_path=...
Здравко
3 years agoLegendary | Level 20
Hi escanzano,
You have one error for sure: 'download_path' should point to file where to save downloaded content, not to folder.
The actual exception, you got, means that something within the Dropbox path is not correct. A good way to start troubleshooting is to list files from account root up to desired file - folder' level by folder' level, starting with empty path (always correct). In such a way you will figure out how exactly you can address the file.
Good luck.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!