Microsoft365R
Microsoft365R copied to clipboard
Error 409 uploading a file
Randomly getting this error when uploading a file, not working anymore since the problem occurs the first time, file gets locked forever:
odb <- get_business_onedrive()
odb$upload_file("file.xlsx", dest = "destination/file.xlsx")
Error in process_response(res, match.arg(http_status_handler), simplify) :
Conflict (HTTP 409). Failed to complete operation. Message:
A file with the same name is currently being uploaded. Change the filename and try to save again.
No file is being uploaded, I can upload it with a different name, but then I lose all the shared permissions.