Microsoft365R icon indicating copy to clipboard operation
Microsoft365R copied to clipboard

Error 409 uploading a file

Open sanboton opened this issue 4 months ago • 0 comments

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.

sanboton avatar Mar 01 '24 12:03 sanboton