cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RLR
New Member

Create File in OneDrive -- File Path of New File "Does not Exist"

I am building a Flow to create a file in OneDrive then to copy that file via the SFTP/SSH connector. I am using the file path of the new file from the dynamic content selection list for the source file path, but keep getting the error that the file path does not exist.

 

I've checked each time that the file is created, and the file path in the error details is valid and correct. I've tried putting a delay between the Create File and Copy File actions, but that isn't working, either.

 

My next plan of action is to try to pull the file path of the newest file in the folder, but I am wondering: why isn't this dynamic file path working when it appears to have all the correct information?

 

RLR_0-1625058703011.png

 

 

RLR_1-1625058716001.png

 

 

 

 

 

1 REPLY 1
tom_riha
Super User
Super User

Hello @RLR ,

when you check the data in the 'Path' dynamic content, you'll see that it contains only path in the OneDrive, it doesn't contain the OneDrive address. You must build the whole path, OneDriveAddress/Path.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,162)