You need to sign in to do that
Don't have an account?
Myles Grossblatt 9
Error Message
I have received the below message when I tried to upload a Batch:
Database.Error[getFields=();getMessage=rC_Bios.Contact_AfterUpdate: execution of AfterUpdate caused by: System.ListException: Before Insert or Upsert list must not have two identically equal elements (rC_Bios) ;getStatusCode=CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY;]): method = updateContact
What is the best way to resolve this error message?
Thank you!
Database.Error[getFields=();getMessage=rC_Bios.Contact_AfterUpdate: execution of AfterUpdate caused by: System.ListException: Before Insert or Upsert list must not have two identically equal elements (rC_Bios) ;getStatusCode=CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY;]): method = updateContact
What is the best way to resolve this error message?
Thank you!
sounds like a trigger issue where there is a list of sObjects that get updated which is populated with two identical elements.
Its in the updatedContact method on the rC_Bios trigger by the looks of it. Could you post the code? It would be easier to identify the issue.
Thanks!