+ Start a Discussion
AsokAsok 

System.DmlException: Insert failed.first error: DUPLICATE_VALUE, duplicate value found

Dear All, 

 

I am trying to insert an account share while updating the user list. 

 

I am getting the below mentioned error. Kindly help me.

 

System.DmlException: Insert failed.first error: DUPLICATE_VALUE, duplicate value found: <unknown> duplicates value on record with id:  <unknown>: []      

 

At, times this error as well...


System.DmlException: Insert failed. First exception on row 741; first error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this    record: []

rohitsfdcrohitsfdc

please post ur code