Hi I have a problem with my SFTP connection.
I'm triggering a Flow 'When a file is added or modified' and then I want to 'Get metadata using path' uding the dynamic content from the trigger. The Flow keeps failing because 'A reference was made to a file or folder which does not exist.'.
This is my Flow:
And that's what I get when it runs:
I checked and both the trigger and action are using the same connection.
What can cause the issue?
Hi @olgaoszcz ,
You can add a Compose action below the trigger to check the 'File path' value.
The dynamic content value of 'File path' is like: folder name/file name.
When you Select a file through File Browse, the 'File Path' is like: /folder name/file name
So you need add '/ ' before the dynamic content value of 'File path'.
Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
When I analyze the failure run I can see that the path provided has the '/' which means this is not a problem.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!