cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rubengonzalez
Frequent Visitor

Http Request Error

Hi, im trying to create an Http Request.

I am using it on postman and works perfectly right. Im only adding on body username and password. 

rubengonzalez_0-1634078221178.png

When I try to execute it on Power Automate "exactly the same" it returns me an error

rubengonzalez_1-1634078305298.png

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 415 Unsupported Media Type</title>
</head>
<body><h2>HTTP ERROR 415</h2>
<p>Problem accessing /api/jwt/login. Reason:
<pre> Unsupported Media Type</pre></p>
</body>
</html>

 

 

2 REPLIES 2
Mira_Ghaly
Dual Super User II
Dual Super User II

@rubengonzalez 

I can see you aren't adding headers , can you try to add them the same way as in post man?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
rubengonzalez
Frequent Visitor

On postman I didnt added headers, they added automaticaly after I execute the API. However, I already tried with headers but when I execute it, the API goes to an infinite loop retrying it

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,018)