web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP connector with Ba...
Power Automate
Unanswered

HTTP connector with Basic authentication bug

(1) ShareShare
ReportReport
Posted on by 250

Here is the screenshot before running the flow showing the full config of the built-in HTTP connector (no swagger):

HTTP_b4_run.JPG

 

and here is the screenshot of the result of the flow run:

HTTP_after_run.JPG

 

As you can see:  the HTTP connector is set up to send a POST to an API using Basic authentication.  However, it fails in Power Automate but not in Postman, and the error message explicitly refers to oauth.v2 EVEN THOUGH I specified Basic auth! 

Of course it is going to fail if it tries to authenticate against oauth.v2 when the server does not speak oauth.v2!

 

Q1:  Why does this happen? Is it a connector bug when using Basic auth, ie it always defaults to oauth.v2 no matter what?

 

Q2:  Or am I missing something?  I did test the same connector but with a GET request against the data endpoint, plugging in the token and auth cookie from Postman, and that worked, returning exactly the same result I got in Postman.  So why am I unable to get an access-token with Basic auth???  😠😠😠 getting seriously aggravated on this

Categories:
I have the same question (0)
  • iso Profile Picture
    250 on at

    FYI this curl works as intended. So what is the HTTP connector doing under the covers???
    curl_working.JPG

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard