<?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>article Qlik Stitch: Discovery succeeded. Tap failed with code -9. Target succeeded. in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Stitch-Discovery-succeeded-Tap-failed-with-code-9-Target/ta-p/2524869</link>
    <description>&lt;P&gt;Sometimes, for the database integration, like PostgreSQL, MongoDB, etc., you may encounter the following error.&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;2021-03-03 15:55:20,221Z&amp;nbsp;&amp;nbsp;&amp;nbsp;main - INFO Exit status is: Discovery succeeded. Tap failed with code -9. Target succeeded.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To help with the above scenario, we have two non-customer-facing settings we can help to set. Those are the&lt;FONT color="#000000"&gt;&lt;STRONG&gt; Incremental limit &lt;/STRONG&gt;&lt;/FONT&gt;and the &lt;FONT color="#000000"&gt;&lt;STRONG&gt;Itersize &lt;/STRONG&gt;&lt;/FONT&gt;values.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Incremental Limit&lt;/STRONG&gt;&lt;/FONT&gt; – Chunks full table and incremental queries into multiple explicit queries by adding a LIMIT X clause to each. This would reduce the load on the DB to prepare result sets if that’s an issue. As mentioned above, by default, our full table and incremental queries do not issue a limit. By adding an incremental limit, we are now forcing the integration to request "batches" of x number of data. This is in hopes that it can alleviate the burden on the source and allow for the query to complete.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Itersize&lt;/FONT&gt; &lt;/STRONG&gt;– This adjusts the number of rows fetched per round trip of a streaming result set for the queries themselves (defaults to 20k rows at a time). It controls the maximum rows fetched in a batch.&lt;/P&gt;
&lt;P&gt;If you face this issue, please reach out to us, and we can set up alleviation for you.&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-contact-Qlik-Support/ta-p/1837529" target="_blank"&gt;How-to-contact-Qlik-Support&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Generally, these -9 errors indicate that the tap is running out of memory when trying to perform an extraction. By default, our full table and incremental queries do not issue a limit. As a result, we wait for the query to complete on your server and in some instances, if the resulting data is quite large, it can terminate, resulting in a connection close error or something similar, like a memory error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Stitch" id="qlikStitch"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 01:46:14 GMT</pubDate>
    <dc:creator>Rahul_Kale</dc:creator>
    <dc:date>2025-07-22T01:46:14Z</dc:date>
    <item>
      <title>Qlik Stitch: Discovery succeeded. Tap failed with code -9. Target succeeded.</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Stitch-Discovery-succeeded-Tap-failed-with-code-9-Target/ta-p/2524869</link>
      <description>&lt;P&gt;Sometimes, for the database integration, like PostgreSQL, MongoDB, etc., you may encounter the following error.&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;2021-03-03 15:55:20,221Z&amp;nbsp;&amp;nbsp;&amp;nbsp;main - INFO Exit status is: Discovery succeeded. Tap failed with code -9. Target succeeded.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To help with the above scenario, we have two non-customer-facing settings we can help to set. Those are the&lt;FONT color="#000000"&gt;&lt;STRONG&gt; Incremental limit &lt;/STRONG&gt;&lt;/FONT&gt;and the &lt;FONT color="#000000"&gt;&lt;STRONG&gt;Itersize &lt;/STRONG&gt;&lt;/FONT&gt;values.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Incremental Limit&lt;/STRONG&gt;&lt;/FONT&gt; – Chunks full table and incremental queries into multiple explicit queries by adding a LIMIT X clause to each. This would reduce the load on the DB to prepare result sets if that’s an issue. As mentioned above, by default, our full table and incremental queries do not issue a limit. By adding an incremental limit, we are now forcing the integration to request "batches" of x number of data. This is in hopes that it can alleviate the burden on the source and allow for the query to complete.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Itersize&lt;/FONT&gt; &lt;/STRONG&gt;– This adjusts the number of rows fetched per round trip of a streaming result set for the queries themselves (defaults to 20k rows at a time). It controls the maximum rows fetched in a batch.&lt;/P&gt;
&lt;P&gt;If you face this issue, please reach out to us, and we can set up alleviation for you.&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-contact-Qlik-Support/ta-p/1837529" target="_blank"&gt;How-to-contact-Qlik-Support&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Generally, these -9 errors indicate that the tap is running out of memory when trying to perform an extraction. By default, our full table and incremental queries do not issue a limit. As a result, we wait for the query to complete on your server and in some instances, if the resulting data is quite large, it can terminate, resulting in a connection close error or something similar, like a memory error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Stitch" id="qlikStitch"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 01:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Stitch-Discovery-succeeded-Tap-failed-with-code-9-Target/ta-p/2524869</guid>
      <dc:creator>Rahul_Kale</dc:creator>
      <dc:date>2025-07-22T01:46:14Z</dc:date>
    </item>
  </channel>
</rss>

