<?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: tSalesforceOutputBulkExec Component Fails with Invalid Batch in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363204#M127166</link>
    <description>when we are importing schema from salesforce importing option we will get these many (yellow highlighted columns) coming . Plz reply me ASAP ,thank you</description>
    <pubDate>Mon, 21 Nov 2016 15:54:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-21T15:54:48Z</dc:date>
    <item>
      <title>tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363196#M127158</link>
      <description>1) I have a SQL Server 2008 R2 database that has a view of task records that I am trying to push into Salesforce. I created a job using the tSalesforceOutputBulkExec Component. It runs through 1400 records and then abends with "Invalid Batch". 
&lt;BR /&gt;Starting job TCPTasks at 21:51 26/03/2012. 
&lt;BR /&gt; connecting to socket on port 3811 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tSalesforceOutputBulkExec_2_tSBE 
&lt;BR /&gt; 
&lt;BR /&gt; at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:108) 
&lt;BR /&gt; at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:472) 
&lt;BR /&gt; at com.sforce.async.BulkConnection.getBatchResultStream(BulkConnection.java:369) 
&lt;BR /&gt; at org.talend.salesforceBulk.SalesforceBulkAPI.getBatchLog(SalesforceBulkAPI.java:327) 
&lt;BR /&gt; at tcp.tcptasks_0_1.TCPTasks.tMSSqlInput_1Process(TCPTasks.java:3294) 
&lt;BR /&gt; at tcp.tcptasks_0_1.TCPTasks.runJobInTOS(TCPTasks.java:5280) 
&lt;BR /&gt; at tcp.tcptasks_0_1.TCPTasks.main(TCPTasks.java:5148) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job TCPTasks ended at 21:51 26/03/2012. 
&lt;BR /&gt;2) Then I created another job using the tSalesforceOutput component and it runs perfectly, migrating all records. 
&lt;BR /&gt;Starting job TCPTasksNONBulk at 21:54 26/03/2012. 
&lt;BR /&gt; connecting to socket on port 3804 
&lt;BR /&gt; connected 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job TCPTasksNONBulk ended at 22:00 26/03/2012. 
&lt;BR /&gt;3) Right now, I'm working with a smaller subset of records (2665) so I can debug this problem; however my client has 205K tasks that I must migrate so I really need to use the bulk component.</description>
      <pubDate>Sat, 16 Nov 2024 12:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363196#M127158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363197#M127159</link>
      <description>Hi&lt;BR /&gt;Please check the schema of both input component and  tSalesforceOutputBulkExec.&lt;BR /&gt;The column names must be the same with salesforce.&lt;BR /&gt;Here is a topic related to this issue.&lt;BR /&gt;11987.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 27 Mar 2012 04:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363197#M127159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-27T04:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363198#M127160</link>
      <description>Pedro, 
&lt;BR /&gt;Thank you so much for your response. I compared the schemas and have found no differences between the input and output components. Can you tell me exactly which components you mean by the input component...do you mean the schema of my Task View in SQL? If so, I compared the structure of all of the fields in that schema as they appear in the Tmap to those that appear in the tSalesforceOutputBulkExec and they are identical. 
&lt;BR /&gt;I also tried remove the mapping of the one field (Task Comments field) and it works like a charm in batch, which tells me it is not something with the schema but something with the data? But I have no way of finding the offending record since it is not writing anything to a reject file. Any idea how to get it to write to a reject or tell you what record it bombed on? 
&lt;BR /&gt;Thanks, Cecilia</description>
      <pubDate>Tue, 27 Mar 2012 14:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363198#M127160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-27T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363199#M127161</link>
      <description>Hi Cecilia 
&lt;BR /&gt;I have imported your job and test a new tSalesforceOutputBulkExec job with your specified schema. 
&lt;BR /&gt;But your schema is against the Task schema of my salesforce(Image 2). 
&lt;BR /&gt;And I get the same error(Image 1). 
&lt;BR /&gt;If I use tSalesforceOutputBulkExec and my Task schema, the job works fine. 
&lt;BR /&gt;I don't know why... 
&lt;BR /&gt; 
&lt;BR /&gt;What do you mean "remove the mapping of the one field (Task Comments field) and it works like a charm in batch"? 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 28 Mar 2012 07:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363199#M127161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-28T07:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363200#M127162</link>
      <description>What I mean is in my Tmap I am populating the Task Description field with a field from my SQL Task View called Action Note. So I am thinking that there are bad characters perhaps in the data that is causing it to fail? I say this because when i remove the mapping of that field altogether, the job runs fine. Do you know of a function that can strip out any bad XML characters out of a text field? Since they are almost impossible to find, I'm wondering if a function like that would help to at least see if there are bad characters in the data?</description>
      <pubDate>Wed, 28 Mar 2012 12:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363200#M127162</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-03-28T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363201#M127163</link>
      <description>I had the same issue and it was due to a field on the output schema that I had not mapped.
&lt;BR /&gt;I removed it and it went away.</description>
      <pubDate>Wed, 04 Apr 2012 19:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363201#M127163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-04T19:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363202#M127164</link>
      <description>Hi Elcalvomike&lt;BR /&gt;Thanks for your feedback.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 05 Apr 2012 02:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363202#M127164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T02:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363203#M127165</link>
      <description>there is the TalendString.replaceSpecialCharForXML(""). Not sure if that will clear it.
&lt;BR /&gt;The other option is to handle the data transformation in your sql view.
&lt;BR /&gt;Lots of code on forums for how to create custom replace functions for this.
&lt;BR /&gt;Cecilia, how are you handling lookups for whatid, whoid for this job?
&lt;BR /&gt;I have struggled with this and have only come up with csv dumps and joins to reduce the api calls.</description>
      <pubDate>Thu, 05 Apr 2012 13:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363203#M127165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T13:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutputBulkExec Component Fails with Invalid Batch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363204#M127166</link>
      <description>when we are importing schema from salesforce importing option we will get these many (yellow highlighted columns) coming . Plz reply me ASAP ,thank you</description>
      <pubDate>Mon, 21 Nov 2016 15:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutputBulkExec-Component-Fails-with-Invalid-Batch/m-p/2363204#M127166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-21T15:54:48Z</dc:date>
    </item>
  </channel>
</rss>

