If i manually run the process in PAD it is perfect every time, but when i run via a scheduled Power Automate Cloud flow, it is hit and mis, full error is:
Problem while executing action 'ReadCSV'. Import failed. Error while parsing
Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Import failed. Error while parsing ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\#######\#####\Business Intelligence - Power Automate\Unpaid Direct Debits\Test.csv'.
at Microsoft.VisualBasic.FileIO.TextFieldParser.ValidatePath(String path)
at Microsoft.VisualBasic.FileIO.TextFieldParser.InitializeFromPath(String path, Encoding defaultEncoding, Boolean detectEncoding)
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.ReadFromCSVFileAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.ReadFromCSVFileAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
i have hashed out parts of the path but they are correct (tested by creating a shortcut directly from the path and it opens). The issue i have is that, in unattended mode, it sometimes works but regularly fails.