cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
litus2002
Regular Visitor

Property with name xxx is not present in connection parameters

Hi, Building a custom connector, tried to add a Policy for setting the Host Url from a value of the body.

 

Body contains a structure like this:

 

{
"inputs": {
"host": {
"connectionName": "xxx",
"operationId": "Sendmsg",
"apiId": "/providers/Microsoft.PowerApps/apis/xxxx"
},
"parameters": {
"body/header/id": "@triggerBody()['text']",
],
"body/data/MyHostUrl": "@triggerBody()['text_2']",

( ... )

},

}
}

 

I would like to use the value of the pink value body.data.MyHostUrl as a Host Url, but I'm not familiar with expressions.

 

Tried: (with no success):

@queryParameters('MyHostUrl')
@queryParameters('data.MyHostUrl')
@queryParameters('body().data.MyHostUrl')
@queryParameters('body.data.MyHostUrl')
@queryParameters('@body().data.MyHostUrl')

 

In this screen:

litus2002_0-1634748130385.png

 

And I receive all the time an error like this:

 

    "message""Property with name body.data.MyHostUrl is not present in connection parameters.",
  

I feel fustrated

 

Anybody with expirience building custom connectors could help me sleep again?

 

Very appreciate

Thank you v/much

 

1 REPLY 1
litus2002
Regular Visitor

Any idea? 😨I'm very stressed because of this, thank u

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Top Solution Authors
Users online (2,582)