web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom Connector sendi...
Power Automate
Unanswered

Custom Connector sending additional headers - Ways to disable this?

(1) ShareShare
ReportReport
Posted on by 269
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...
Categories:
I have the same question (1)
  • AlexN Profile Picture
    269 on at
    A little bump
  • Ramon Tebar Profile Picture
    4 on at
    Hey @AlexN, you are not alone 😅 I'm getting the same issue here. Did you find out anything else?

    I noticed it normally works with the completions endpoint, but it fails with the Chat completions endpoint.
  • GC-07020925-0 Profile Picture
    2 on at
    We're also getting a 431 when using a Custom connector, in our case when calling OpenAI (although strangely only for certain models).
     
    Unfortunately we have to use this as we need to use Virtual Network integration and most connectors (including HTTP) don't support this.
     
    We don't get the 431 when testing the connector, only when running it from a Cloud Flow.  I've not been able to see the requests so far.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard