I have On-premises data gateway installed on my PC
I make no modifications to the template, other than defining and adding a new connection, and specifying a SharePoint library to upload a site into.
After activiating the flow and saving a file into the folder defined in the new connection, the flow fails with the below inputs and outputs.
There appears to be an issue with the inputs - it is not passing the file folder that was defined in the connection. The flow does not allow me to edit the existing connection to review the saved folder.
I've tried creating a flow from scratch as you suggested, but haven't had any luck in getting it to upload a file into a SharePoint library. When you configured the flow, what dynamic content value did you add into the 'File Content' field? The list of dynamic content options available appear to only provide attributes related to the metadata of the file, and not the file itself.