---
title: "E2120 Duplicate External Id"
description: "E2120 Duplicate External Id"
keywords: "E2120 Duplicate External Id Salesforce Data Error"
url: "https://myrapidi.com/wiki/duplicate_external_id"
locale: "en"
published: "2024-01-26T09:45:29Z"
modified: "2025-03-12T11:24:35Z"
---

The **DUPLICATE\_EXTERNAL\_ID** error in Salesforce occurs when you try to insert or update a record with an **External ID field** that **must be unique** , but the value you’re providing already exists in another record. If a field is marked as an **External ID**  **and** is also marked as **Unique** , Salesforce enforces uniqueness. When using `upsert`, Salesforce checks for a match based on the **External ID**. If **multiple records** already exist with the same External ID, Salesforce doesn’t know which one to update, causing this error.

**SF\_ERROR: DUPLICATE\_EXTERNAL\_ID OBJ: Product2 - Case SKU Number (US): more than one record found for external id field: [01tj00000033KNPAA2, 01tj0000002xwceAAA] FIELDS: Field\_Source\_\_C.&nbsp;**

This is a Salesforce restriction. Salesforce will not allow multiple records with the same External ID to be created. So the records with duplicate external IDs need to be checked and adjusted accordingly.&nbsp;  
  
Solution:

- Check that specific record in your source system and make sure that it has an unique Id; If you have duplicates in your source system, you would need to clean the data and then transfer them to Salesforce.&nbsp;
- Also, check this particular record in Salesforce as well - sometimes, users can create duplicate data directly in Salesforce and therefore causing further issues for the ongoing integration.
