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

Community site session details

Session Id :
Power Automate - Connector Development
Unanswered

Error using policy to manipulate request headers

(0) ShareShare
ReportReport
Posted on by 9

Hi

 

I have a custom connector that needs to use a freshly generated token to make API calls.  Fetching the current token is no issue, but when I try to set an Authorize header on a secondary connector to this new token via a policy, I get the following error:

 

Invalid parameters template. No property names specified in @headers or @queryParameters or @connectionParameters expression

 

Not sure what I'm doing wrong.  Here's my request definition:

Radar4_0-1674244808060.png

And my policy:

Radar4_2-1674244892772.png

It's a little hard to make out in above screen shot but the Header value uses this formula:

@headers(‘vendorToken’)

 

My request body:

Radar4_3-1674244965973.png

And response body:

Radar4_4-1674244994286.png

 

What am I doing wrong?

 

Tks

Categories:
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard

Featured topics