Could you please share a full screenshot of the configuration of your flow?
In addition, I noticed that the error message indicates that Gateway is offline. Please ensure that there is a good network environment during the transmission and that the gateway is connected. You could try to update the gateway to the latest version.
Please provide more details and which should be helpful for us to share a further suggestion.
as the flow is pretty large, I had some problems getting if fully on my screen. At the start i am initializing some variables. The trigger is PowerApps.
As you can see I am using the SQL connection in some previous steps. The flow has never faild on theses steps. That's why I was currious that the outer exeption of the error message is saying that the gateway is offline.
Here is a more detailed screenshot of the "Add Pictures part":
I put it at the end of the flow so I only have to add these steps manually if it fails.
The "PA_Photo2" parameter is a base64 encoded sting with a length between 3 milion and 4,5 milion figures.
I asume that this is simply to large for the on-premises data gateway and some kind of timeout or limit is hit. But I couldn't find out where I can change this timeout.
The gateway has the version number 3000.0.144.3 (October 2018). I guess it is the newest.
@Anonymous - Unfortunately not. Some days ago I dicovered by chance that one of the known limitation is a limit of 8MB/ 2MB for reponse/request size with the sql server connector through on-premises gateways (https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations). But that only confuses me more because the limit I experienced is between 3MB and 3.5MB so this doesn't make so much sense, neither.
I am having the same problem, but I am only inserting a raw json to sql. And the size is less than 3MB as well. So I am really confused about what is going on here.
This is absolutely ludicrous! Trying to add PDF's that can be upto 20mb to an on-prem sql table and just come across this. Well, once again I've revisited the power platform and it just doesn't cut it for a business grade service.