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 / power automate Postgre...
Power Automate
Unanswered

power automate Postgresql connection failed issue

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I am encountering a PostgreSQL connection problem in Power Automate, and I have encountered errors as mentioned below screenshot. Could you please assist me in connecting to the PostgreSQL server?

errors:

Test connection failed. Details: An error happened while reading data from the provider: 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond' inner exception: An error happened while reading data from the provider: 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond' clientRequestId: 654f7255-22dc-da17-3858-9d08cf037704
 

khongore_1-1692782293305.png

 

 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Are you sure you don't need a gateway?  Is your PostgreSQL server in the Azure cloud?

  • khongore Profile Picture
    2 on at

    1) I'm not certain that I require a gateway. I've attempted various methods and even set up a gateway on my laptop. However, the error I'm encountering is distinct and is prompting me to install ngpsql. Can you help me to install ngpsql?

    2) Our PostgreSQL database is operational on an internal server, not on Azure.

     

    Error:

    Test connection failed. Details: Please install Npgsql version 4.0.10.0 or earlier. inner exception: Please install Npgsql version 4.0.10.0 or earlier. clientRequestId: 773ee7b2-9598-8262-4117-8e9ad47996d4

     

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Your database is on-premise so you absolutely need a gateway. A standard (enterprise) gateway, to be exact. Not something you want to install on your laptop.

     

    There is a known issue that the latest gateway installers are missing the npgsql ADO drivers. You will need to install Power BI Desktop and then copy the files over to the gateway.

  • Aysan Profile Picture
    271 on at

    Hi,

    This https://community.fabric.microsoft.com/t5/Service/Gateway-error-connecting-to-PostgreSQL/m-p/963650 helped me to resolve the issue , hope it helps

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