<?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: Invalid input for table issue in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550689#M16381</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/369444"&gt;@QuiosaEvaristo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;Based on the error message:&lt;/P&gt;
&lt;P&gt;XML parsing: line 158, character 0, unexpected end of input&lt;/P&gt;
&lt;P&gt;it appears that the XML data may be incomplete or corrupted. Please check the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Verify that the source data contains valid XML.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Ensure that no truncation occurs during extraction, transfer, or loading of the XML data.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check the maximum size/length of the XML column and confirm that the entire XML document is being processed.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Verify that the XML data does not contain any invalid or unsupported characters.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Confirm the Oracle Client installation type on the Replicate server. Please note that XML data types require a &lt;A href="https://help.qlik.com/en-US/replicate/May2026/Content/Global_Common/Content/SharedReplicateHDD/Oracle/oracle_prerequisites.htm#:~:text=Support%20for%20the%20XMLTYPE%20data%20type%20requires%20the%20full%20Oracle%20Client." target="_blank" rel="noopener"&gt;full Oracle Client&lt;/A&gt; installation; the Oracle Instant Client is not sufficient for XMLTYPE columns.&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2026 14:13:05 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2026-06-04T14:13:05Z</dc:date>
    <item>
      <title>Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550430#M16364</link>
      <description>&lt;P&gt;Good day for all&lt;/P&gt;
&lt;P&gt;I have created some tasks last week, included the tables&amp;nbsp; and they was running very but this week the tasks have stopped and when go to the log it shows the message bellow. All the log are showing the same issue.&lt;BR /&gt;&lt;BR /&gt;Need a help hand to fix it&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Tuesday, June 2, 2026&lt;/P&gt;
&lt;P&gt;9:37 AM&lt;/P&gt;
&lt;P&gt;00539829: 2026-06-02T09:31:34 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Invalid input for table 'Table Name' in line number 1 [1022505]&amp;nbsp; (sqlserver_endpoint_imp.c:2965)&lt;/P&gt;
&lt;P&gt;00539829: 2026-06-02T09:31:34 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; execute statement failed [1022505]&amp;nbsp; (sqlserver_endpoint_imp.c:3119)&lt;/P&gt;
&lt;P&gt;00539829: 2026-06-02T09:31:34 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Error executing data handler [1022505]&amp;nbsp; (streamcomponent.c:2034)&lt;/P&gt;
&lt;P&gt;00539829: 2026-06-02T09:31:34 [TASK_MANAGER&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Stream component failed at subtask 2, component st_2_PRD-AO-T24-LSS-RES&amp;nbsp; [1022505]&amp;nbsp; (subtask.c:1504)&lt;/P&gt;
&lt;P&gt;00539829: 2026-06-02T09:31:34 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Stream component 'st_2_PRD-AO-T24-LSS-RES' terminated [1022505]&amp;nbsp; (subtask.c:1675)&lt;/P&gt;
&lt;P&gt;00539821: 2026-06-02T09:31:34 [TASK_MANAGER ]W: Task 'PRD_AO_T24_LSS_RES_XML_LE_8kb' encountered a fatal error (repository.c:6488)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 08:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550430#M16364</guid>
      <dc:creator>QuiosaEvaristo</dc:creator>
      <dc:date>2026-06-02T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550432#M16365</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/369444"&gt;@QuiosaEvaristo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;At this point, it is difficult to determine the root cause, as we do not yet know the source and target endpoint database types.&lt;/P&gt;
&lt;P&gt;Based on our experience, it appears that you may be using a &lt;STRONG&gt;SQL Server target&lt;/STRONG&gt; endpoint. If this is correct, we suggest enabling the &lt;STRONG&gt;SOURCE_UNLOAD&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;TARGET_LOAD&lt;/STRONG&gt;&amp;nbsp;components at the &lt;STRONG&gt;Verbose&lt;/STRONG&gt; logging level, reproducing the issue, and then reviewing the task log files for further root cause analysis.&lt;/P&gt;
&lt;P&gt;If you need additional assistance, I would recommend opening a support ticket and attaching the task &lt;STRONG&gt;Diagnostics Package&lt;/STRONG&gt; collected with the above logging options enabled. Our support team will be more than happy to assist you further.&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 09:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550432#M16365</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2026-06-02T09:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550439#M16366</link>
      <description>&lt;P&gt;hello John,&lt;BR /&gt;&lt;BR /&gt;Thanks for your prompt reply&lt;BR /&gt;&lt;BR /&gt;Source data base is Oracle and target is Sql Server&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 09:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550439#M16366</guid>
      <dc:creator>QuiosaEvaristo</dc:creator>
      <dc:date>2026-06-02T09:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550661#M16379</link>
      <description>&lt;P&gt;Hi Jonh&lt;BR /&gt;&lt;BR /&gt;The tables have one column with name XMLRECORD with type XML.&lt;BR /&gt;I have altered the data type from XML to Varchar it works without any error. We need the data type of this column to remain with the type of XML.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;---------------------------------- The error ----------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Failed (retcode -1) to execute statement: 'INSERT INTO [T24USER].[F_MD_PARAMETER]([RECID],[XMLRECORD]) values (?,?)' [1022502]&amp;nbsp; (ar_odbc_stmt.c:2858)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; RetCode: SQL_ERROR&amp;nbsp; SqlState: 42000 NativeError: 9400 Message: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]XML parsing: line 158, character 0, unexpected end of input Line: 1 Column: -1 [1022502]&amp;nbsp; (ar_odbc_stmt.c:2864)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Invalid input for table 'T24USER'.'F_MD_PARAMETER' in line number 1 [1022505]&amp;nbsp; (sqlserver_endpoint_imp.c:2965)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Execute statement failed [1020403]&amp;nbsp; (sqlserver_endpoint_imp.c:4644)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Handling End of table 'T24USER'.'F_MD_PARAMETER' loading failed by subtask 3 thread 1 [1022505]&amp;nbsp; (endpointshell.c:3208)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Error executing data handler [1022505]&amp;nbsp; (streamcomponent.c:2034)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TASK_MANAGER&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Stream component failed at subtask 3, component st_3_PRD-AO-T24-LSS-RES&amp;nbsp; [1022505]&amp;nbsp; (subtask.c:1504)&lt;/P&gt;
&lt;P&gt;00542383: 2026-06-02T11:35:59 [TARGET_LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; Stream component 'st_3_PRD-AO-T24-LSS-RES' terminated [1022505]&amp;nbsp; (subtask.c:1675)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 09:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550661#M16379</guid>
      <dc:creator>QuiosaEvaristo</dc:creator>
      <dc:date>2026-06-04T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550668#M16380</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/369444"&gt;@QuiosaEvaristo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;Based on the logs provided, the failure occurs when SQL Server attempts to insert data into the target XML column. The reported error is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;"XML parsing: line 158, character 0, unexpected end of input" (SQL Server Native Error 9400)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;This error is generated by SQL Server's XML parser and indicates that the XML document being inserted is not well-formed. Specifically, SQL Server detected that the XML content ended unexpectedly while parsing the document, which may be caused by incomplete XML content, missing closing tags, invalid XML formatting, or truncated data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As part of the investigation, the target column was changed from XML to VARCHAR, and the load completed successfully. This indicates that Qlik Replicate is able to transfer the data, but SQL Server rejects the value when validating it as XML.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We would recommend.&amp;nbsp;&lt;/SPAN&gt;Identify the source record(s) being processed when the error occurs.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Extract and validate the XML content from the source system.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Verify that the XML document is complete, well-formed, and contains all required closing tags.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If the XML is confirmed to be valid at the source, compare the source and target payload lengths to determine whether the XML content is being truncated before reaching SQL Server.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;We hope this information is helpful. If you would like us to investigate this further together, please open a support case and we will be happy to assist with the analysis.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sachin B&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 10:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550668#M16380</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2026-06-04T10:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550689#M16381</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/369444"&gt;@QuiosaEvaristo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;Based on the error message:&lt;/P&gt;
&lt;P&gt;XML parsing: line 158, character 0, unexpected end of input&lt;/P&gt;
&lt;P&gt;it appears that the XML data may be incomplete or corrupted. Please check the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Verify that the source data contains valid XML.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Ensure that no truncation occurs during extraction, transfer, or loading of the XML data.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check the maximum size/length of the XML column and confirm that the entire XML document is being processed.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Verify that the XML data does not contain any invalid or unsupported characters.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Confirm the Oracle Client installation type on the Replicate server. Please note that XML data types require a &lt;A href="https://help.qlik.com/en-US/replicate/May2026/Content/Global_Common/Content/SharedReplicateHDD/Oracle/oracle_prerequisites.htm#:~:text=Support%20for%20the%20XMLTYPE%20data%20type%20requires%20the%20full%20Oracle%20Client." target="_blank" rel="noopener"&gt;full Oracle Client&lt;/A&gt; installation; the Oracle Instant Client is not sufficient for XMLTYPE columns.&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 14:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550689#M16381</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2026-06-04T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550693#M16382</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A id="link_17" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141158" aria-describedby="userProfileCard-141158" aria-label="View Profile of SachinB" target="_blank"&gt;&lt;SPAN class="login-bold"&gt;SachinB&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for the feedback&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 14:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550693#M16382</guid>
      <dc:creator>QuiosaEvaristo</dc:creator>
      <dc:date>2026-06-04T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid input for table issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550694#M16383</link>
      <description>&lt;P&gt;Hi John&lt;BR /&gt;&lt;BR /&gt;Thanks for the feedback&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 14:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Invalid-input-for-table-issue/m-p/2550694#M16383</guid>
      <dc:creator>QuiosaEvaristo</dc:creator>
      <dc:date>2026-06-04T14:48:15Z</dc:date>
    </item>
  </channel>
</rss>

