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
vherasme
6 years agoExplorer | Level 4
Error when uploading to folder - Python client
Hello. I am trying to upload a file using this Python code:
with open("{} - my-file-name.xlsx".format(
datetime.now().strftime('%Y%m%d')), "rb") as f:
dbx.files_upload(
f.read()...
Здравко
Legendary | Level 20
Hi vherasme,
Seems the file already exists. If I have to bet, You probably make erroneous upload instead update. :wink:
Hope this gives some direction.
Greg-DB
6 years agoDropbox Staff
That's correct, that 'path/conflict/file' indicates the upload failed because there's already a file at the specified path. You can find this WriteConflictError error in the documentation here.
You can control the conflict behavior via the `mode` and `autorename` parameters for the `files_upload` method. The documentation there has more information about the different options and what they do.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 14 minutes ago
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!