<?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: Salesforce Exception: Failed to get next element / only whitespace content allowed in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446860#M140568</link>
    <description>&lt;P&gt;Thank's&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/282210"&gt;@oliver5&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have you resolved the issue on your end? Also, what is the version of the API that you are using, please?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 10:22:39 GMT</pubDate>
    <dc:creator>LucMas</dc:creator>
    <dc:date>2024-04-30T10:22:39Z</dc:date>
    <item>
      <title>Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358708#M123679</link>
      <description>&lt;P&gt;We are unfortunately getting sporadic talend exceptions from the Salesforce Connector when upserting data to Salesforce. This exception seems to occur randomly and it seems it has nothing to do with the data being transferred, because a second attempt on the same data set will not run into an exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems, that there is some kind of library issue, which is quite hard for for us to debug, because we cannot reproduce this issue when running the job in talend studio. Is there a recommendation of what we can do to find out what's causing this issue?  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the full exception: &lt;A href="https://pastebin.com/KRjgyQHb" target="_blank"&gt;https://pastebin.com/KRjgyQHb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;tSalesforceOutput_1 com.sforce.ws.ConnectionException: Failed to get next element&lt;/B&gt;&lt;/P&gt;&lt;P&gt;java.io.IOException: com.sforce.ws.ConnectionException: Failed to get next element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.components.salesforce.runtime.SalesforceWriter.doUpsert(SalesforceWriter.java:476) &lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;&lt;B&gt;Caused by: com.sforce.ws.ConnectionException: Failed to get next element&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.sforce.ws.parser.XmlInputStream.nextTag(XmlInputStream.java:169) &lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;&lt;B&gt;Caused by: com.sforce.ws.parser.XmlPullParserException: only whitespace content allowed before start tag and not u (position: START_DOCUMENT seen u... @1:1) &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.sforce.ws.parser.MXParser.parseProlog(MXParser.java:1532) ~[force-wsc-53.1.0.jar:?]&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358708#M123679</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2024-11-15T21:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358709#M123680</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please indicate  what's Salesforce API version you are using? Please double check the Endpoint URL defined for the tSalesforceOutput component&lt;/P&gt;&lt;P&gt;What does your job look like and did you use any security token?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 04:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358709#M123680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-07T04:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358710#M123681</link>
      <description>&lt;P&gt;Hey, it doesn't seem to be related to a specific job. Occasionally, every existing job fails, no matter how it is built. This behavior occurs approximately once in 24 runs per day. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using API version 52.0. The tSalesforceOutput component is configured to authenticate using a Security Token, Password, and User ID. We have already checked &lt;A href="https://status.salesforce.com" alt="https://status.salesforce.com" target="_blank"&gt;status.salesforce.com&lt;/A&gt; for any technical incidents on our instance, but the API seems to be working as expected. In one job, for example, we're upserting mapped Dynamics CRM data to the Contact component using tMap: tMicrosoftCRMInput -&amp;gt; tMap -&amp;gt; tSalesforceOutput.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas on how to further debug this, or do you think this could be a Salesforce Library/API Bug?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 14:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358710#M123681</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2023-09-07T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358711#M123682</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;All existed jobs failed? All Salesforce jobs？&lt;/P&gt;&lt;P&gt;With your API version 52.0, the "Test" of SalesForce connection setting is OK with you (Connection successful)?&lt;/P&gt;&lt;P&gt;Could you please clarify in which Talend version/edition you are and what's JDK version you are using? Please make sure that you are using compatible version of java.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 03:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358711#M123682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-08T03:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358712#M123683</link>
      <description>&lt;P&gt;Yes, the connection is successful. However, it appears that there is an unhandled library issue. For some reason, when Salesforce sends an empty response body (which is happening from time to time), the Talend application crashes. Is there a fix available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talend Data Integration &lt;/P&gt;&lt;P&gt;Version: 8.0.1&lt;/P&gt;&lt;P&gt;Build id: R2022-12&lt;/P&gt;&lt;P&gt;OS: Windows Server 2022, v.10.0, x86_64 / win32&lt;/P&gt;&lt;P&gt;Java vendor: Azul Systems, Inc.&lt;/P&gt;&lt;P&gt;Java runtime version: 11.0.18+10-LTS&lt;/P&gt;&lt;P&gt;Java version: 11.0.18&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 15:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358712#M123683</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2023-09-13T15:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358713#M123684</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it a random issue when upserting data to Salesforce?&lt;/P&gt;&lt;P&gt;In Talend 8, Salesforce Endpoint is updated to v52. What does your module look like in the Modules view?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000odQYlAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147010i576908D5A4F314CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000odQYlAAM.png" alt="0695b00000odQYlAAM.png" /&gt;&lt;/span&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 02:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358713#M123684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-14T02:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358714#M123685</link>
      <description>&lt;P&gt;Yes, this is a random issue. Here is the module overview:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000odRQxAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151290i2C2C34C64EF5EFD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000odRQxAAM.png" alt="0695b00000odRQxAAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 10:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358714#M123685</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2023-09-14T10:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358715#M123686</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It seems to be a bug from your side. Are you using talend subscription 8.0.1? Have you ever installed any patch into your studio? Any support case has been raised for this random issue?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 03:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358715#M123686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-18T03:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358716#M123687</link>
      <description>&lt;P&gt;Why do you think it's an internal bug on our side? We'll continue this thread on an internal support ticket from my collegue. ID: 00307018 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway for your support!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 14:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358716#M123687</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2023-09-18T14:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358717#M123688</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As this issue appear randomly, it is a first step to guess this issue could be caused by your configuration, setting or upserting data to salesforce. We need to do further investigation through remote assistance to address this issue.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 01:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2358717#M123688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-19T01:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446820#M140566</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/282210"&gt;@oliver5&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="app-messages-panel"&gt;
&lt;DIV class="scroll-container"&gt;
&lt;DIV class="messages"&gt;
&lt;DIV class="message ai ng-star-inserted"&gt;
&lt;P&gt;Have you been able to identify the root cause of the issue and, more importantly, have you fixed it ? and how? We are also experiencing the same problem.&lt;/P&gt;
&lt;P&gt;Thank's&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="bottom"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Apr 2024 09:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446820#M140566</guid>
      <dc:creator>LucMas</dc:creator>
      <dc:date>2024-04-30T09:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446842#M140567</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/297462"&gt;@LucMas&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yeah, the issue was a Salesforce API issue. We escalated the issue with their DevOps team, as the Salesforce API was sometimes returning 503 status code, which caused this error in Talend. Talend couldn't do anything for us here, so we've rebuilt our jobs and added our own retry mechanism for failed jobs.. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 10:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446842#M140567</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2024-04-30T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446860#M140568</link>
      <description>&lt;P&gt;Thank's&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/282210"&gt;@oliver5&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have you resolved the issue on your end? Also, what is the version of the API that you are using, please?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 10:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446860#M140568</guid>
      <dc:creator>LucMas</dc:creator>
      <dc:date>2024-04-30T10:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446983#M140569</link>
      <description>&lt;P&gt;Also, have you openend a request to the salesforce team ? if yes, can you please give me the request number ? because I too have opened a request to Salesforce and I can use your request number to strenghten my request.&lt;/P&gt;
&lt;P&gt;Thank's&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/282210"&gt;@oliver5&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 12:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2446983#M140569</guid>
      <dc:creator>LucMas</dc:creator>
      <dc:date>2024-04-30T12:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Exception: Failed to get next element / only whitespace content allowed</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2447021#M140570</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/297462"&gt;@LucMas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately I cannot share a request number as the ticket has already been closed. Are you sure you have the exact same problem? There are many possible sources for this particular error. If you also see a 503 response from Salesforce, I would create a new ticket. For example, you can create a script that checks the accessibility of your instance every 30 seconds using curl:&lt;/P&gt;
&lt;P&gt;curl -I --connect-timeout 0 &lt;A href="https://[your-instance].my.salesforce.com" target="_blank"&gt;https://[your-instance].my.salesforce.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So as you can see, this had nothing to do with the API version being used on salesforce. This was a problem with our whole Salesforce instance, which rejected some of our requests (which also included API requests).&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 13:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Exception-Failed-to-get-next-element-only-whitespace/m-p/2447021#M140570</guid>
      <dc:creator>oliver5</dc:creator>
      <dc:date>2024-04-30T13:17:04Z</dc:date>
    </item>
  </channel>
</rss>

