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
Lakshmi SLakshmi S 

Dataloder upsert issue?

Hi Team,

I am doing upsert(insert + update) operation on opportunity using Dataloader, getting errror like ' Duplicate id specified '. we are not using any external id's, just updating existing records and inserting new records.

Please let me know how can we resolve this...

Thanks,
Lakshmi
Khan AnasKhan Anas (Salesforce Developers) 
Hi Lakshmi,

I trust you are doing very well.

This is due to a duplicate within a 'Unique ID' field. If you are receiving this error, you must remove the duplicates.
Please refer to the below help article which might help you further with the above issue.

https://help.salesforce.com/articleView?id=000211732&language=en_US&type=1

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas