<?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 tSalesforceInput - Query Mode: Bulk Exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289029#M62448</link>
    <description>&lt;P&gt;I am using a tSalesforceInput to retrieve data using the Bulk query mode.&amp;nbsp; I am able to create the bulk data load job in salesforce successfully, see it execute and retrieve the results as long as the bulk job completes in a "quick time-frame".&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the same job, salesforce environment, etc and the only thing I change is the query parameters - to return more data.&amp;nbsp; This query takes more time and it seems in that "waiting" that some error is thrown by Talend.&amp;nbsp; In reality the job completes (takes 3 minutes on salesforce) and the data is available in the salesforce job.&amp;nbsp; For some reason Talend is deciding to "time-out" on the bulk data load job.&amp;nbsp; This is not a network issue - I can repeat it consistently.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I should also mention that the Timeout value in the tSalesforceConnection component is set to&amp;nbsp;480000 (8 minutes).&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Attached is the exception from Talend.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Successful Salesforce Job; Same job that Talend has an exception on:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFDCJob.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsd8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142834i89B2F72DCACDBA1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsd8.png" alt="0683p000009Lsd8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:38:23 GMT</pubDate>
    <dc:creator>jdope</dc:creator>
    <dc:date>2024-11-16T08:38:23Z</dc:date>
    <item>
      <title>tSalesforceInput - Query Mode: Bulk Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289029#M62448</link>
      <description>&lt;P&gt;I am using a tSalesforceInput to retrieve data using the Bulk query mode.&amp;nbsp; I am able to create the bulk data load job in salesforce successfully, see it execute and retrieve the results as long as the bulk job completes in a "quick time-frame".&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the same job, salesforce environment, etc and the only thing I change is the query parameters - to return more data.&amp;nbsp; This query takes more time and it seems in that "waiting" that some error is thrown by Talend.&amp;nbsp; In reality the job completes (takes 3 minutes on salesforce) and the data is available in the salesforce job.&amp;nbsp; For some reason Talend is deciding to "time-out" on the bulk data load job.&amp;nbsp; This is not a network issue - I can repeat it consistently.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I should also mention that the Timeout value in the tSalesforceConnection component is set to&amp;nbsp;480000 (8 minutes).&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Attached is the exception from Talend.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Successful Salesforce Job; Same job that Talend has an exception on:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFDCJob.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsd8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142834i89B2F72DCACDBA1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsd8.png" alt="0683p000009Lsd8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289029#M62448</guid>
      <dc:creator>jdope</dc:creator>
      <dc:date>2024-11-16T08:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceInput - Query Mode: Bulk Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289030#M62449</link>
      <description>Hi,
&lt;BR /&gt;On Salesforce side there is some limits regarding the Bulk API including for queries. As explained in the documentation, "If the query takes more than 2 minutes to process, a QUERY_TIMEOUT error is returned".
&lt;BR /&gt;Here is the link 
&lt;A href="https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_concepts_limits.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_concepts_limits.htm&lt;/A&gt;</description>
      <pubDate>Sat, 24 Feb 2018 18:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289030#M62449</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-24T18:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceInput - Query Mode: Bulk Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289031#M62450</link>
      <description>&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I put a HTTP trace on the connection to see the responses from Talend polling the bulk job in salesforce.&amp;nbsp; It shows the responses from each poll to salesforce to get the progress of the job (see the attached text file).&amp;nbsp; I see nothing indicating that the job returned any such error condition.&amp;nbsp; In salesforce the batch completes successfully and the results are available (see screenshot in post).&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm not sure what Talend is looking at in the response to indicate that there was an error...there doesn't seem to be one returned by salesforce.&amp;nbsp; Talend doesn't seem to be processing the response correctly and throws an exception (why? I don't know).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 20:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289031#M62450</guid>
      <dc:creator>jdope</dc:creator>
      <dc:date>2018-02-24T20:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceInput - Query Mode: Bulk Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289032#M62451</link>
      <description>&lt;P&gt;Created Bug&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.talendforge.org/browse/TDI-40149" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-40149&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you encounter this same issue please vote up the bug!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 03:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-Query-Mode-Bulk-Exception/m-p/2289032#M62451</guid>
      <dc:creator>jdope</dc:creator>
      <dc:date>2018-03-01T03:07:40Z</dc:date>
    </item>
  </channel>
</rss>

