function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
stevenyanstevenyan 

Bulk upsert failing -- Bulk API

I'm trying to do a bulk upsert on a Contact object.  Here's the JobInfo XML I am trying to use:

 

<?xml version="1.0" encoding="UTF-8"?>
<jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
  <operation>upsert</operation>
  <object>Contact</object>
  <contentType>CSV</contentType>
  <externalIdFieldName>External_ID__c</externalIdFieldName>
</jobInfo>

 

When I attempt to create the job I get the error: "Unable to parse Job".  This XML (without the externalIdFieldName) does work for an update operation.  What am I doing wrong here?

 

Thanks,

Steve

Best Answer chosen by Admin (Salesforce Developers) 

All Answers

alex_from_parisalex_from_paris

Hi

I have exactly the same issue

Did you solve the problem ?

Thanks for your help

Regards

SuperfellSuperfell
This was selected as the best answer
alex_from_parisalex_from_paris

Thanks

Not so easy to guess :-)