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

HTTP request with Content-type not supported

Hello,

 

I created a flow in Power Automate, and when I run a specific HTTPS request (GET method) with the HTTP module :

I get an error message in response : "Content-type '' not supported"

However I have the following Headers:

"Accept-Version": "V2",
"Authorization": "Bearer @{body('Analyser_JSON')?['access_token']}",
"Content-Type": "application/json",
"Accept": "application/json",
"OData-MaxVersion": "4.0",
"OData-Version": "4.0",
"If-None-Match": "null"

 

I specify that the request works very well on a Postman environment and in this flow other requests to the same API also work.

Has anyone ever faced this problem?
Thanks for your feedback.

3 REPLIES 3
DamoBird365
Super User
Super User

Hi @Jhasbrouck 

 

This usually works for me:

 

"content-type" :"application/json;odata=verbose"

 

But there is also a good article here

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

Jhasbrouck
Regular Visitor

Thanks for your return.
I tried with this Content-type and unfortunately I still have the problem ...

In Postman, the query always works with this Content-Type.

It is as if the value of my Content-Type disappeared when sending the request.

Anonymous
Not applicable

@Jhasbrouck Were you able to find a solution? I am having a similar problem with my HTTP action failing due to the content-type not supported.

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.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,765)