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 Platform Community / Forums / Power Automate / Error using policy to ...
Power Automate
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard