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
Kumar GKumar G 

Please suggest on below error : Insert operation

When i am trying to insert a data , i am getting a error like :DUPLICATE_EXTERNAL_ID:Name: more than one record found for external id field: [01280000000GGScAAO, 01280000000GEiLAAW, 01280000000GGSYAA4, 01280000000GEiJAAW]:Name

Please suggest on this.




Thanks..
Waqar Hussain SFWaqar Hussain SF
While creating external Id field you have checked the Unique attribute on field defination. And now you can not have more than 1 record in you system with same external id field. You inserting records with same external ids due to which you are getting error.

Does this make sense?
Rahul Gharde 4Rahul Gharde 4

you might have created Name with External ID as checked due to which your data is insertion throwing error.