Connection to PostgreSQL db in Data Flow not working

Anonymous
2022-12-14T18:21:14.94+00:00

I'm trying to connect my Azure DB for PostgreSQL (flexible server) with ADF data activity. The dataset related to PSQL is working nice with copy activity. When I'm trying to reach PSQL Dataset in Data Flow I'm receiving:

Operation on target InitDBContributionParquet failed: {"StatusCode":"DFExecutorUserError","Message":"Job failed due to reason: at Sink 'StoreInPSQL': The connection attempt failed.","Details":"shaded.msdataflow.org.postgresql.util.PSQLException: The connection attempt failed.\n\tat shaded.msdataflow.org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:297)\n\tat shaded.msdataflow.org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)\n\tat shaded.msdataflow.org.postgresql.jdbc.PgConnection.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

Answer accepted by question author
  1. ShaikMaheer-MSFT 38,556 Reputation points Microsoft Employee Moderator
    2022-12-15T08:28:50.367+00:00

    Hi @Anonymous ,

    Thanks for posting query in Microsoft Q&A Platform.

    When actually you are getting this error? While performing data preview in dataflow? Or while running dataflow using Dataflow activity?

    If it's in dataflow activity, then could you please cross check and make sure correct IR there under settings tab?

    You mean to say link liked service still connection is getting successful? If yes, note which IR is getting used there and use same in data flow activity.

    Please let me know how it goes. Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.