I have created a flow to delete file from file system but I am getting error as below screenshot:
Thanks in advance.
Per my test in my SharePoint online environment, I add the “delete file” action in the flow and it can work fine.
To troubleshoot the issue, check things below:
Check if the file which you want to delete exists in the file system.
Check if the connection is configured correctly.
Check if the data Gateways is installed and configured correctly.