while to running UI flow i built, I got the error below
I got the same error and I realized today that I hadn't noticed a preceding error that I'm thinking is a root cause. When I look at the UI Flow runs, it shows that there is a problem with my trigger action. I put that error message into google and found this: https://powerusers.microsoft.com/t5/Building-Flows/On-Premises-Data-Gateway-Cannot-find-file-path/td... which very closely mirrors my situation. I am going to follow up on this post because it seems like it's been dropped and I can't find a solution elsewhere.
I did look into carvalho's solution and it took me some time to realize I couldn't get AAD access as an intern.
Hope this helps!