+ Start a Discussion

Error during Update operation using Data loader - ,"Id not specified in an update call"



I am using a csv file to do an insert/update operation into the salesfroce using the Apex Data loader from command line.

I inserted a record with three columns (one being ID , mapped to the Salesforce ID). 

When i perform an update operation, its throwing out the error saying that ,"Id not specified in an update call"


Did any of you face this issue? I fos could you let me know how to resolve this




Rahul SharmaRahul Sharma

Hi Pradeep,

That error occurs when you try to update the record which is not having salesforce id or which is not associated with salesforce.



Hi Rahul


I have the Primary key kf my data flow. i created one external ID in slaesforce to whcih the primary key is mapped. 

I am not sure about the salesfoce id whcih you are referring. Is it the Document ID. 





Please check if you have mapped the fields in the data loader.




Usually this error occurs when the ID's of the object you are trying to update is not provided in the excel sheet.


From my understanding this is because of ID's in salesforce. every record in an object be it standard or custom has an ID which is mentioned in the URL of the record when clicked. You need to provide this ID in your csv file so that the records can be updated.


for eg:- I am trying to update Opportunirty records, then in that case I would provide :- 00690000009WFRl this ID in the csv file which is nothing but an unique identification of the records related to opportunity only..


Please mark this answer if it solved your issue.