Id not specified in an update call

125 Views Asked by At

I'm updating an integration where I'm trying to update the contact table in Salesforce using Boomi. Below are my settings:

enter image description here

My XML profile looks like:

<Contact>
<AccountId>CONTACTSALESFORCEID</AccountId>
<LastName>LASTNAME</LastName>
<FirstName>FIRSTNAME</FirstName>
<Email>EMAILADDRESS</Email>
</Contact>

When I run the integration I get this error:

<statusCode>MISSING_ARGUMENT</statusCode>
<message>OBJ: Contact - Id not specified in an update call</message>

From what I see in https://help.salesforce.com/s/articleView?id=000386242&type=1, this error appears when the file does not include a Salesforce record ID or the ID column was not properly mapped to the ID field. This doesn't seem to be my issue. What am I doing wrong?

Here is the map that is being uploaded. Only items that have a connecting line are being sent over. enter image description here

1

There are 1 best solutions below

3
eyescream On

<AccountId>CONTACTSALESFORCEID</AccountId> smells like you mapped to a wrong field.

All Contact Ids across all salesforce instances start with 003. Account Ids start with 001. Check your data and then I'd say either

<Id>CONTACTSALESFORCEID</Id>

or

<Contact>
    <Id>CONTACTSALESFORCEID</Id>
    <AccountId>Some other field that has 001...</AccountId>
    <LastName>LASTNAME</LastName>
    <FirstName>FIRSTNAME</FirstName>
    <Email>EMAILADDRESS</Email>
</Contact>