Azure / Microsoft365R

R SDK for interacting with Microsoft 365 APIs
Other
308 stars 41 forks source link

Error 409 uploading a file #202

Open sanboton opened 4 months ago

sanboton commented 4 months ago

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.