<?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 Qlik Replicate : Run task API command error in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486423#M12944</link>
    <description>&lt;P&gt;we upgrade Qlik Replicate from 2022 Nov to 2023 Nov, after upgrade we are getting below error to run parent task&amp;nbsp; (db2 log streaming )&lt;BR /&gt;&lt;BR /&gt;error&amp;nbsp;{"error_code":"GENERAL_ERROR","error_message":"Value cannot be null.\r\nParameter name: name"}&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;command :&amp;nbsp;&lt;BR /&gt;curl --silent -i -k -X POST --header "EnterpriseManager.APISessionID: ${session_id//[$'\t\r\n ']}" --header "Content-Length: 68" -d "{\"cdcposition\":\"Checkpoint:V1#1#00${offset}0001#0#0#*#0#0\"}" $host/attunityenterprisemanager/api/v1/servers/$replicate_name/tasks/"$(echo $line)?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET"&lt;BR /&gt;&lt;BR /&gt;I executed script with -x option and checked all variables are getting values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;+ echo 'Starting the Log Stream tasks first, then other task from QEM '&lt;BR /&gt;Starting the Log Stream tasks first, then other task from QEM&lt;BR /&gt;+ curl -v -i -k -X POST --header 'EnterpriseManager.APISessionID: eQ6ETzc7K57g_xxxx' --header Content-Length:68 -d '{"cdcposition":"Checkpoint:V1#1#00DFxxxxxxx001#0#0#*#0#0"}' '&lt;A href="https://server.com/attunityenterprisemanager/api/v1/servers/replicate_host/tasks/Test?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET" target="_blank"&gt;https://server.com/attunityenterprisemanager/api/v1/servers/replicate_host/tasks/Test?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET&lt;/A&gt;'&lt;BR /&gt;Note: Unnecessary use of -X or --request, POST is already inferred.&lt;BR /&gt;* Trying 1.1.1.1...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to server.com (1.1.1.1) port 443 (#0)&lt;BR /&gt;* ALPN, offering h2&lt;BR /&gt;* ALPN, offering http/1.1&lt;BR /&gt;* successfully set certificate verify locations:&lt;BR /&gt;* CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;CApath: none&lt;BR /&gt;* TLSv1.3 (OUT), TLS handshake, Client hello (1):&lt;BR /&gt;* TLSv1.3 (IN), TLS handshake, Server hello (2):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Certificate (11):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server key exchange (12):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server finished (14):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):&lt;BR /&gt;* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Finished (20):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Finished (20):&lt;BR /&gt;* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384&lt;BR /&gt;* ALPN, server accepted to use h2&lt;BR /&gt;* Server certificate:&lt;BR /&gt;* subject: C=TT; ST=location; L=location; O=TEST ; OU=1111; CN=server; emailAddress=abc@test.com&lt;BR /&gt;* start date: Mar 13 13:44:20 2023 GMT&lt;BR /&gt;* expire date: Mar 12 13:44:20 2025 GMT&lt;BR /&gt;* issuer: C=TT; O=location; CN=location G3 Issuing CA Tier B&lt;BR /&gt;* SSL certificate verify ok.&lt;BR /&gt;* Using HTTP2, server supports multi-use&lt;BR /&gt;* Connection state changed (HTTP/2 confirmed)&lt;BR /&gt;* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0&lt;BR /&gt;* Using Stream ID: 1 (easy handle 0x55fda0f68710)&lt;BR /&gt;&amp;gt; POST /attunityenterprisemanager/api/v1/servers/replicate_host/tasks/test?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET HTTP/2&lt;BR /&gt;&amp;gt; Host: server.com&lt;BR /&gt;&amp;gt; User-Agent: curl/7.61.1&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt; EnterpriseManager.APISessionID: eQ6ETzc7K57g_xxxx&lt;BR /&gt;&amp;gt; Content-Length:68&lt;BR /&gt;&amp;gt; Content-Type: application/x-www-form-urlencoded&lt;BR /&gt;&amp;gt;&lt;BR /&gt;* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!&lt;BR /&gt;* We are completely uploaded and fine&lt;BR /&gt;&amp;lt; HTTP/2 500&lt;BR /&gt;HTTP/2 500&lt;BR /&gt;&amp;lt; cache-control: no-cache, no-store&lt;BR /&gt;cache-control: no-cache, no-store&lt;BR /&gt;&amp;lt; content-length: 94&lt;BR /&gt;content-length: 94&lt;BR /&gt;&amp;lt; content-type: application/json&lt;BR /&gt;content-type: application/json&lt;BR /&gt;&amp;lt; server: Microsoft-HTTPAPI/2.0&lt;BR /&gt;server: Microsoft-HTTPAPI/2.0&lt;BR /&gt;&amp;lt; date: Thu, 10 Oct 2024 14:00:07 GMT&lt;BR /&gt;date: Thu, 10 Oct 2024 14:00:07 GMT&lt;/P&gt;
&lt;P&gt;&amp;lt;&lt;BR /&gt;* Connection #0 to host server.com left intact&lt;BR /&gt;{"error_code":"GENERAL_ERROR","error_message":"Value cannot be null.\r\nParameter name: name"}$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I referred this page&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/November2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_runTask.htm" target="_blank"&gt;RunTask | Qlik Enterprise Manager Help&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 14:09:17 GMT</pubDate>
    <dc:creator>ashishb</dc:creator>
    <dc:date>2024-10-10T14:09:17Z</dc:date>
    <item>
      <title>Qlik Replicate : Run task API command error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486423#M12944</link>
      <description>&lt;P&gt;we upgrade Qlik Replicate from 2022 Nov to 2023 Nov, after upgrade we are getting below error to run parent task&amp;nbsp; (db2 log streaming )&lt;BR /&gt;&lt;BR /&gt;error&amp;nbsp;{"error_code":"GENERAL_ERROR","error_message":"Value cannot be null.\r\nParameter name: name"}&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;command :&amp;nbsp;&lt;BR /&gt;curl --silent -i -k -X POST --header "EnterpriseManager.APISessionID: ${session_id//[$'\t\r\n ']}" --header "Content-Length: 68" -d "{\"cdcposition\":\"Checkpoint:V1#1#00${offset}0001#0#0#*#0#0\"}" $host/attunityenterprisemanager/api/v1/servers/$replicate_name/tasks/"$(echo $line)?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET"&lt;BR /&gt;&lt;BR /&gt;I executed script with -x option and checked all variables are getting values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;+ echo 'Starting the Log Stream tasks first, then other task from QEM '&lt;BR /&gt;Starting the Log Stream tasks first, then other task from QEM&lt;BR /&gt;+ curl -v -i -k -X POST --header 'EnterpriseManager.APISessionID: eQ6ETzc7K57g_xxxx' --header Content-Length:68 -d '{"cdcposition":"Checkpoint:V1#1#00DFxxxxxxx001#0#0#*#0#0"}' '&lt;A href="https://server.com/attunityenterprisemanager/api/v1/servers/replicate_host/tasks/Test?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET" target="_blank"&gt;https://server.com/attunityenterprisemanager/api/v1/servers/replicate_host/tasks/Test?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET&lt;/A&gt;'&lt;BR /&gt;Note: Unnecessary use of -X or --request, POST is already inferred.&lt;BR /&gt;* Trying 1.1.1.1...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected to server.com (1.1.1.1) port 443 (#0)&lt;BR /&gt;* ALPN, offering h2&lt;BR /&gt;* ALPN, offering http/1.1&lt;BR /&gt;* successfully set certificate verify locations:&lt;BR /&gt;* CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;CApath: none&lt;BR /&gt;* TLSv1.3 (OUT), TLS handshake, Client hello (1):&lt;BR /&gt;* TLSv1.3 (IN), TLS handshake, Server hello (2):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Certificate (11):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server key exchange (12):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Server finished (14):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):&lt;BR /&gt;* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):&lt;BR /&gt;* TLSv1.2 (OUT), TLS handshake, Finished (20):&lt;BR /&gt;* TLSv1.2 (IN), TLS handshake, Finished (20):&lt;BR /&gt;* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384&lt;BR /&gt;* ALPN, server accepted to use h2&lt;BR /&gt;* Server certificate:&lt;BR /&gt;* subject: C=TT; ST=location; L=location; O=TEST ; OU=1111; CN=server; emailAddress=abc@test.com&lt;BR /&gt;* start date: Mar 13 13:44:20 2023 GMT&lt;BR /&gt;* expire date: Mar 12 13:44:20 2025 GMT&lt;BR /&gt;* issuer: C=TT; O=location; CN=location G3 Issuing CA Tier B&lt;BR /&gt;* SSL certificate verify ok.&lt;BR /&gt;* Using HTTP2, server supports multi-use&lt;BR /&gt;* Connection state changed (HTTP/2 confirmed)&lt;BR /&gt;* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0&lt;BR /&gt;* Using Stream ID: 1 (easy handle 0x55fda0f68710)&lt;BR /&gt;&amp;gt; POST /attunityenterprisemanager/api/v1/servers/replicate_host/tasks/test?action=run&amp;amp;option=RECOVER_USING_CHECKPOINT_STORED_ON_TARGET HTTP/2&lt;BR /&gt;&amp;gt; Host: server.com&lt;BR /&gt;&amp;gt; User-Agent: curl/7.61.1&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt; EnterpriseManager.APISessionID: eQ6ETzc7K57g_xxxx&lt;BR /&gt;&amp;gt; Content-Length:68&lt;BR /&gt;&amp;gt; Content-Type: application/x-www-form-urlencoded&lt;BR /&gt;&amp;gt;&lt;BR /&gt;* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!&lt;BR /&gt;* We are completely uploaded and fine&lt;BR /&gt;&amp;lt; HTTP/2 500&lt;BR /&gt;HTTP/2 500&lt;BR /&gt;&amp;lt; cache-control: no-cache, no-store&lt;BR /&gt;cache-control: no-cache, no-store&lt;BR /&gt;&amp;lt; content-length: 94&lt;BR /&gt;content-length: 94&lt;BR /&gt;&amp;lt; content-type: application/json&lt;BR /&gt;content-type: application/json&lt;BR /&gt;&amp;lt; server: Microsoft-HTTPAPI/2.0&lt;BR /&gt;server: Microsoft-HTTPAPI/2.0&lt;BR /&gt;&amp;lt; date: Thu, 10 Oct 2024 14:00:07 GMT&lt;BR /&gt;date: Thu, 10 Oct 2024 14:00:07 GMT&lt;/P&gt;
&lt;P&gt;&amp;lt;&lt;BR /&gt;* Connection #0 to host server.com left intact&lt;BR /&gt;{"error_code":"GENERAL_ERROR","error_message":"Value cannot be null.\r\nParameter name: name"}$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I referred this page&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/November2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_runTask.htm" target="_blank"&gt;RunTask | Qlik Enterprise Manager Help&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 14:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486423#M12944</guid>
      <dc:creator>ashishb</dc:creator>
      <dc:date>2024-10-10T14:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate : Run task API command error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486455#M12945</link>
      <description>&lt;DIV class="test-id__field-label-container slds-form-element__label" data-aura-rendered-by="485:126993;a"&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-79164:0" data-aura-rendered-by="79167:0" data-aura-class="uiTooltip"&gt;&lt;SPAN&gt;in this example :&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" data-aura-rendered-by="488:126993;a"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" data-aura-rendered-by="480:126993;a" data-aura-class="uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge"&gt;&lt;SPAN data-aura-rendered-by="481:126993;a"&gt;C:\Windows\System32&amp;gt;curl -i -k -X POST --header "EnterpriseManager.APISessionID: qb-LIrTkfIRFczl8MLPT1w" -d "{\"cdcposition\":\"2024-03-07T11:19:03\"}" "&lt;A href="https://10.76.246.205/attunityenterprisemanager/api/v1/servers/sql_104/tasks/sql2file?action=run&amp;amp;option=RESUME_PROCESSING_FROM_TIMESTAMP" target="_blank" rel="noopener"&gt;https://10.76.246.205/attunityenterprisemanager/api/v1/servers/sql_104/tasks/sql2file?action=run&amp;amp;option=RESUME_PROCESSING_FROM_TIMESTAMP"&lt;/A&gt;"&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="481:126993;a" /&gt;&lt;BR data-aura-rendered-by="481:126993;a" /&gt;error&lt;BR data-aura-rendered-by="481:126993;a" /&gt;&lt;SPAN data-aura-rendered-by="481:126993;a"&gt;{"error_code":"GENERAL_ERROR","error_message":"Value cannot be null.\r\nParameter name: name"}&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="481:126993;a" /&gt;&amp;nbsp;===&lt;/DIV&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" data-aura-rendered-by="480:126993;a" data-aura-class="uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge"&gt;&lt;SPAN&gt;Notes that this is a json format&amp;nbsp;"{\"cdcposition\":\"2024-03-07T11:19:03\"}"&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="510:126993;a" /&gt;&lt;BR data-aura-rendered-by="510:126993;a" /&gt;&lt;SPAN&gt;so the API call should have been :&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="510:126993;a" /&gt;&lt;BR data-aura-rendered-by="510:126993;a" /&gt;&lt;SPAN&gt;curl -i -k -X POST --header "EnterpriseManager.APISessionID: 9VO3LNvPhX0yIqLv5W9_dQ"&lt;/SPAN&gt;&lt;STRONG data-aura-rendered-by="510:126993;a"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;--header "Content-type: application/json"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;-d "{\"cdcposition\":\"2024-03-07T11:19:03\"}" "&lt;/SPAN&gt;&lt;A href="https://10.76.246.205/attunityenterprisemanager/api/v1/servers/sql_104/tasks/sql2file?action=run&amp;amp;option=RESUME_PROCESSING_FROM_TIMESTAMP" target="_blank" rel="noopener" data-aura-rendered-by="510:126993;a"&gt;https://10.76.246.205/attunityenterprisemanager/api/v1/servers/sql_104/tasks/sql2file?action=run&amp;amp;option=RESUME_PROCESSING_FROM_TIMESTAMP"&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Oct 2024 17:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486455#M12945</guid>
      <dc:creator>Steve_Nguyen</dc:creator>
      <dc:date>2024-10-10T17:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate : Run task API command error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486513#M12949</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks its working now. &lt;BR /&gt;But it was working on version 2022 Nov without adding "&lt;/SPAN&gt;&lt;STRONG data-aura-rendered-by="510:126993;a"&gt;--header "Content-type: application/json"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 07:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Run-task-API-command-error/m-p/2486513#M12949</guid>
      <dc:creator>ashishb</dc:creator>
      <dc:date>2024-10-11T07:54:16Z</dc:date>
    </item>
  </channel>
</rss>

