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
tronclue
3 years agoExplorer | Level 4
Error downloading files using the dropbox library in python
Hi,
I am trying to access the files in my shared folder (which I mount) using the python library. I keep getting the following error - dropbox.exceptions.BadInputError: BadInputError('xxxxxxxx', 'Error in call to API function "files/download": Must provide HTTP header "Dropbox-API-Arg" or URL parameter "arg".')
I am sure that I am using this correctly because it used to work till a couple of days ago. What would be the problem?
- tronclueExplorer | Level 4
I am using the dropbox API. To be specific, I am using the function:
dropbox.dropbox_client.Dropbox.files_download(path = xxx)
I was able to get the list the files using the Dropbox object but downloading caused errors while using the same object. I've also tried it with a new oauth token, but no progress on that end.
- JayDropbox StaffThanks for the info, I'll move this thread to the appropriate forum for more specialist support.
- Greg-DBDropbox Staff
Thanks for the report. This doesn't seem to reproduce for me though, so can you share:
- the version number of the Python SDK you're using
- the rest of the relevant code, e.g., how you're building your 'Dropbox' client object (but don't include your access/refresh token)
- a sample 'path' value
- several sample request IDs for these failures (the random 32 character string shown in the error object)
Feel free to open an API ticket if you'd prefer to share privately.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!