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

power automate Postgresql connection failed issue

(0) ShareShare
ReportReport
Posted on by 4

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,649 Super User 2026 Season 1 on at

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

  • khongore Profile Picture
    4 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

     

  • Verified answer
    lbendlin Profile Picture
    8,649 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard