<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to start task using PostGres as target endpoint in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459768#M11407</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I greatly agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140377"&gt;@OritA&lt;/a&gt;&amp;nbsp;, &lt;SPAN&gt;PostgreSQL will error out and tell you that you don't have permissions to create something inside the PUBLIC schema without explicitly specifying who is allowed to do that beforehand. You need to grant the privileges to Qlik Replicate endpoint user with:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&lt;SPAN class="crayon-st"&gt;GRANT&lt;/SPAN&gt; &lt;SPAN class="crayon-st"&gt;ALL&lt;/SPAN&gt; &lt;SPAN class="crayon-r"&gt;ON&lt;/SPAN&gt; &lt;SPAN class="crayon-r"&gt;SCHEMA&lt;/SPAN&gt; public &lt;SPAN class="crayon-r"&gt;TO&lt;/SPAN&gt; &amp;lt;&lt;EM&gt;QR-CDCUser&lt;/EM&gt;&amp;gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 07:46:54 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2024-06-06T07:46:54Z</dc:date>
    <item>
      <title>Unable to start task using PostGres as target endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459759#M11404</link>
      <description>&lt;P&gt;Hitting errors while trying to start a new task using Postgres SQL RDS as target endpoint. The source endpoint is RDS SQL Server.&lt;/P&gt;
&lt;P&gt;Failed to send 'START_REGULAR' command for transaction '00', start time '2024-06-06 08:22:13.410', commit lsn '000001EB00005CA70001'&lt;/P&gt;
&lt;P&gt;I have granted "can login" and "create database" privileges to user in Qlik Replicate connection setup.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/PostgreSQL/security_req_postgresql_target.htm#ar_postgresds_802412600_1397925" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/PostgreSQL/security_req_postgresql_target.htm#ar_postgresds_802412600_1397925&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stream component 'st_0_Semarchy_DEV' terminated&lt;BR /&gt;Stream component failed at subtask 0, component st_0_Semarchy_DEV &lt;BR /&gt;Error executing command&lt;BR /&gt;Cannot create Exception table&lt;BR /&gt;Cannot create Special table&lt;BR /&gt;execute create table statement failed, statement CREATE TABLE "attrep_apply_exceptions" ( "TASK_NAME" VARCHAR(128) NOT NULL, "TABLE_OWNER" VARCHAR(128) NOT NULL, "TABLE_NAME" VARCHAR(128) NOT NULL, "ERROR_TIME" TIMESTAMP NOT NULL, "STATEMENT" text NOT NULL, "ERROR" text NOT NULL )&lt;BR /&gt;RetCode: SQL_ERROR SqlState: 42501 NativeError: 1 Message: ERROR: permission denied for schema public;&lt;BR /&gt;Error while executing the query&lt;BR /&gt;Failed (retcode -1) to execute statement: CREATE TABLE "attrep_apply_exceptions" ( "TASK_NAME" VARCHAR(128) NOT NULL, "TABLE_OWNER" VARCHAR(128) NOT NULL, "TABLE_NAME" VARCHAR(128) NOT NULL, "ERROR_TIME" TIMESTAMP NOT NULL, "STATEMENT" text NOT NULL, "ERROR" text NOT NULL )&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 07:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459759#M11404</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-06-06T07:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start task using PostGres as target endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459762#M11405</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The table attrep_apply_exception is a table created by Replicate in the target database and includes details about data errors received in the task (when they occurs) .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we see from the message the error that you get is due to lack of permission to the user used by Replicate to access the target database. We recommend to doublecheck the permission granted to the user. In case problem persists, please open a case in SaleForce and attach to the case the task diagnostic package so we can review the details of the setting and help solving the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Orit&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 07:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459762#M11405</guid>
      <dc:creator>OritA</dc:creator>
      <dc:date>2024-06-06T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start task using PostGres as target endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459768#M11407</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I greatly agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140377"&gt;@OritA&lt;/a&gt;&amp;nbsp;, &lt;SPAN&gt;PostgreSQL will error out and tell you that you don't have permissions to create something inside the PUBLIC schema without explicitly specifying who is allowed to do that beforehand. You need to grant the privileges to Qlik Replicate endpoint user with:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&lt;SPAN class="crayon-st"&gt;GRANT&lt;/SPAN&gt; &lt;SPAN class="crayon-st"&gt;ALL&lt;/SPAN&gt; &lt;SPAN class="crayon-r"&gt;ON&lt;/SPAN&gt; &lt;SPAN class="crayon-r"&gt;SCHEMA&lt;/SPAN&gt; public &lt;SPAN class="crayon-r"&gt;TO&lt;/SPAN&gt; &amp;lt;&lt;EM&gt;QR-CDCUser&lt;/EM&gt;&amp;gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 07:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459768#M11407</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-06-06T07:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start task using PostGres as target endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459770#M11408</link>
      <description>&lt;P&gt;I have resolved this after granted the permission on public schema for Qlik user to write.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 07:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459770#M11408</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-06-06T07:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start task using PostGres as target endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459772#M11409</link>
      <description>&lt;P&gt;Thank you so much for your great support&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 07:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-start-task-using-PostGres-as-target-endpoint/m-p/2459772#M11409</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-06-06T07:50:27Z</dc:date>
    </item>
  </channel>
</rss>

