Introducing the Chargebee CLI

Salesforce Sync Error - Matched account is already linked with another customer

Problem Statement

This article helps you understand the Salesforce sync error when a matched account is already linked with another customer.

Solution

This article covers the instructions to resolve the following sync error:

  • Matched account(xxxxxxxxxxxxxxxxxx) is already linked with another customer:

Summary:

The customer record looks up the account in Salesforce and maps to it when a match is found. If two records point to the same account, this error occurs.

For example, customer A had already matched with an account and synced successfully. Now a second customer, customer B, is also trying to map to the same account because both matches point to the same account. The mapping should be a unique customer record in Chargebee that maps to one account in Salesforce. To avoid this mapping-related issue, you can ensure that there is only one customer record in Chargebee with the same details and no duplicates.

Solution:

If you see duplicate records within Chargebee, you can delete one of the duplicates or merge the two records using the Chargebee merge customer bulk action.

Note: We recommend testing "merge records" action before performing this action on the live site.