dbx = dropbox.Dropbox(config.DROPBOX_ACCESS_TOKEN) src="/some/long/path/to/the/folder" dst = "/on_review" dbx.dbx.files_move(src, dst)
And always got this error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/username/.venv/lib/python3.9/site-packages/dropbox/base.py", line 2222, in files_move r = self.request( File "/home/username/.venv/lib/python3.9/site-packages/dropbox/dropbox_client.py", line 346, in request raise ApiError(res.request_id, dropbox.exceptions.ApiError: ApiError('922df7920b19424a97600d5250a1ee90', RelocationError('to', WriteError('conflict', WriteConflictError('folder', None))))
Ideally I do not want to think "whether folder contains anything or not", I just want to pick folder `/a/b/c/d` and move it so new path will be `/on_review/d`.