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(),
"/path/to/folder{} - my-file-name.xlsx".format(
datetime.now().strftime('%Y%m%d')))
And I am getting this error:
Upload to Dropbox error: ApiError('*******************', UploadError('path', UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('file', None)), upload_session_id='*******************')))
Can anyone help pls?