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 / Basic Auth with no Pas...
Power Automate
Suggested Answer

Basic Auth with no Password

(1) ShareShare
ReportReport
Posted on by 3

I am creating a custom connector for an API that supports Basic Auth, but the API key is used as the User Name and the Password should be left blank. Does anyone know if this is possible, when I try and use the connector it is mandating that I enter in the password which I presume is failing it. Error returned is below, I did the some tests in Postman and with the User Name only it works and with Password define it returns the same error as I get when creating Custom Connector.

 

{
    "error""Invalid Authorization header",
    "type""ch:service"
}
Categories:
I have the same question (0)
  • richardcarrigan Profile Picture
    Microsoft Employee on at

    Hi @Dobadino ,

     

    Not sure if this will be helpful, and maybe you've already found a solution in the past ~18 months, but I was able to work around this issue by adding a single space (" ") as the password for the API I was building a custom connector for. It would be nice if we as the custom connector developer could have the option to make the password optional, but this has proved to be a solid workaround for me.

     

    Hope this helps!

  • Suggested answer
    SS-20030055-0 Profile Picture
    2 on at
    I worked it out.
     
    In our business, we have an API with our bank which we use to take payments on schedule. The banks API specifically requires that there is NO PASSWORD sent with authentication.
     
    After trying everything, the winning combination is selecting "Raw" authentication and putting your Basic XXXXndkNdkds384ljLetc... in the "Value" box. Something like this:

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

#2
developerAJ Profile Picture

developerAJ 192

#3
abm abm Profile Picture

abm abm 184 Most Valuable Professional

Last 30 days Overall leaderboard