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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom Connector with ...
Power Apps
Unanswered

Custom Connector with on-prem API Error

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I've a straightforward custom connector that calls my on-prem API and validates if a username and password match in an on-prem SQL database.

 

When I test it using the "Swagger Editor" in the Custom Connector page it works fine, it returns a status code of 200 and the appropriate response body.

 

But if I try to test it through the final stage of Custom Connector screen, or try using it in a Power Automate Flow, it doesn't work.

 

I'm not sure why it's working fine when I test with the Swagger Editor and on Postman, but not when I try use the Custom Connector itself? 

 

I get the following error messages:

PMitch12_0-1646847476107.png

I've extracted the main content from the error message:

"

"message": "Received error payload from gateway service with ID 2008707:

HttpRequestException: An error occurred while sending the request.

System.Net.WebException: Unable to connect to the remote server

System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:50469

"

 

Any help or advice would be greatly appreciated!

 

Thanks,

Peter

Categories:
I have the same question (0)
  • tAlManIL Profile Picture
    6 on at

    I get the same error!

    Any luck solving it?

    Thanks!

  • PMitch12 Profile Picture
    2 on at

    Hi @tAlManIL , I had no luck resolving the error unfortunately.

    I just created a new Custom Connector from scratch and re-did everything, and then it worked for me.

    So it may have just been some cache issue somewhere in the background

  • tAlManIL Profile Picture
    6 on at

    Great!

    Any chance we can have a short call?

    I recreated the custom connector a few times and still get the same error

     

    my email is

    talco@elad.co.il

    Tal

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard