Office 365 2.0.1 Unable to upload file to sharepoint library

Hello, when studio changed from windows legacy to modern I had to update my sharepoint activities package, and the new package I am having issues uploading a file to a sharepoint LIBRARY (not a list).
The upload file activity requires the destination folder to be “DriveItem”
image
But when I create the variable for the file folder in the previous step output it creates it as an “O365 Drive Item”

I also tried the physical web address of the destination folder and that equally does not work.

How do I upload files to a sharepoint library?

NOTE… there is no file options in the sharepoint activity section like the old UiPath.team.sharepoint package.

I should note, in the UiPath documentation it says you can use this output for later use in the upload activities (which apparently is incorrect)
Upload File (uipath.com)

1 Like