This is a Salesforce error and it occurs when you try to insert or update a record, but Salesforce detects it as a duplicate based on an existing matching rule.
E2120 - ECE_SForceDataError: We got an error back from SalesForce when trying to update or insert data in SalesForce: Error returned from SFDC on create: Attributes: type = "DuplicateError" [message: Use one of these records? , statusCode: DUPLICATES_DETECTED , duplicateResult: [allowSave: false , duplicateRule: Standard_Account_Duplicate_Rule , duplicateRuleEntityType: Account , errorMessage: Use one of these records? , matchResults: [entityType: Account , matchEngine: FuzzyMatchEngine , matchRecords: [matchConfidence: 100.0 , record: Attributes: type = "sf:sObject" [type: Account , Id: 0010O00002OfUX0QAN , Id: 0010O00002OfUX0QAN ] ].
Possible Solutions:
- Check the current matching rules and see the fields for which they are enforced ( e.g. Account Name, Email, etc) and modify them, if needed.
- Set up a new field on the account object as an External ID ( or use an existing one but mark it as an External ID) so that accounts are created and updated in Salesforce based on your own external ID.
Read more about fuzzy matching vs. custom matching here.
Comment Editor X