I would like to upload a file to Sharepoint. Use Uipath.MicrosoftOffice365 activities. I could download the file (Find Files and Folders activity > driveitem > Download File) successful. When I try to upload the same file, I have receive invalidRequest message.
I solved this.
Both Download file and Upload File activities have the Local File Path attributes, but those are not the same!
In Download file activity it is enough to refer to the folder. In the Upload file activity it must refer to the full file path, including the file name.
So, the Microsoft Graph gives invalidRequest error, when the uploading filename refers only folder instead of file.