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
PseudodarwinistPseudodarwinist 

duplicate Accounts were inserted by upsert job

Last night more than 1 million Accounts(Clients) were inserted in Salesforce by a batch job from ETL. They say they have run the Upsert job.If it was upsert, it should have updated the already existing Accounts. Is there a way to debug or diagnose as to how upsert job inserted Accounts.What are the things i can try to debug it?
Raj VakatiRaj Vakati
Now Your upsert will be updated based on the External ID or Record Id ..
If you have more than one same external Id it will fail 

Now .. Do you have duplicate external Id ? I am sure its not possiable if you have it as unique 

If you have duplicate data like ( duplicate record name , then its issue with the data ) please use de duplicate rules or third party apps