Hey everyone,
I stumbled over a little "gimmick" of custom connectors yesterday.
A customer is using Azure OpenAI in a private network. Since none of the existing OpenAI connectors support gateways, I just made a very simple Custom Connector to be able to select a gateway.
The only header values defined are api-key and Content-Type. When I test the connector in the connector editor, everything works fine.
Using the custom connector though behaves different. The answer I always get is Error 431 - Request header fields too large.
With the normal http-Connector, there is an option in the action settings to suppress sending workflow headers. For a custom connector, there isn't such an option. My guess is, there will be some of the typical "x-auth-..." headers, that Power Automate is adding on its own.
Is there any way I can restrict the connector from doing so? Don't want to setup an additional API Management in Azure just to strip the headers...