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 Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,188)