cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Helper V
Helper V

Fix invalid expression(s) for the input parameter(s) of operation 'HTTP_3'.

Hello. I am trying to do a POST Http request based on what's on this documentation: https://docs.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http#perm...

 

I'm attempting the Example 5.

 

When I first pasted the JSON body, it said the JSON was invalid but that was only because there was an extra comma after preFetchMedia:

 

teamsbotImage1.png

 

After removing the comma, I pasted the body into my http request:

 

Mgodby_1-1606169566903.png

 

Then the "Fix invalid expression(s) for the input parameter(s) of operation 'HTTP_3'." error appeared. I noticed that if I remove the "@" symbol from the @odata.type fields the error goes away but I'm worried that that might be breaking things.

 

Does anyone know what's wrong with this and how to fix it? Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
manuelstgomes
Super User II
Super User II

Hi @Mgodby 

 

I had that problem the other day, and it took me some time to understand what to do.

In the "@odata.type," put "@@odata.type". It will pass the validation and return the result you want

 

Can you please check if and let me know if you have any questions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

3 REPLIES 3
manuelstgomes
Super User II
Super User II

Hi @Mgodby 

 

I had that problem the other day, and it took me some time to understand what to do.

In the "@odata.type," put "@@odata.type". It will pass the validation and return the result you want

 

Can you please check if and let me know if you have any questions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

manuelstgomes
Super User II
Super User II

Hi @Mgodby 

 

Did it work?

 

Cheers
Manuel

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

I got it to work by doing a compose with "@odata.type" within it and then referencing that in the http body.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (69,072)