Skip to main content

Notifications

Power Automate - Using Connectors
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

  • iso Profile Picture
    iso 250 on at
    Re: HTTP connector with Basic authentication bug

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics