title: Upsert to Salesforce with External ID references Not Working
body: <p>I have the following objects with the respective fields in Salesforce:</p>
  
  <p>Prospect__c
    Data_Migration_ID__c (External ID)</p>
  
  <p>Marketing_Source__c
    Data_Migration_ID__c (External ID)</p>
  
  <p>Lead_Source__c
    Data_Migration_ID__c (External ID)
    Prospect__c (reference to Prospect__c)
    Source__c (reference to Marketing_Source__c)</p>
  
  <p>In my source data (CSV) for the Lead Source, I have the external IDs for the Prospect and the Marketing Source in Lead_Source__c.Prospect__c and Lead_Source__c.Source__c, respectively. I've followed the instructions at <a href="http://blog.wdcigroup.net/2013/10/talen" rel="nofollow">http://blog.wdcigroup.net/2013/10/talen</a> … component/, along with whatever tips I have been able to find in the forums in order to load my Lead Source data. I can get it to work with the Data Loader, so I know that the data is valid. But whenever I run the job, I get  the following output:</p>
  
  <pre><code>Exception in component tSalesforceOutputBulkExec_1_tSBE
  [AsyncApiException  exceptionCode='InvalidBatch'
   exceptionMessage='Records not processed'
  ]
  
      at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:108)
      at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:472)
      at com.sforce.async.BulkConnection.getBatchResultStream(BulkConnection.java:369)
      at org.talend.salesforceBulk.SalesforceBulkAPI.getBatchLog(SalesforceBulkAPI.java:428)
      at test.lead_source__c_0_1.Lead_Source__c.tFileInputDelimited_1Process(Lead_Source__c.java:2132)
      at test.lead_source__c_0_1.Lead_Source__c.runJobInTOS(Lead_Source__c.java:2839)
      at test.lead_source__c_0_1.Lead_Source__c.main(Lead_Source__c.java:2688)
  </code></pre>
  
  <p>I'm using Talend 5.5.1.r118616-20140617-1110</p>