Bloomreach shows the “Customer merge failed” message when one or more rows in a customer import contain identifiers that can’t be safely matched to a single customer profile. Bloomreach discards the affected rows, but other rows can continue to be processed. The message doesn’t necessarily mean that the entire import failed.
Understand the error
Bloomreach uses the customer IDs in an import to find the corresponding customer profile. When the IDs in a row point to profiles that already exist separately in the project, Bloomreach attempts to merge them.
The merge fails when the profiles contain conflicting identifiers, such as different values for the same type of hard ID.
A hard ID is an identifier that should uniquely identify a customer, such as a customer number or another configured identifier. A soft ID can help identify a profile, but Bloomreach may reassign it when a conflict occurs.
Bloomreach can’t merge two profiles that have different hard IDs of the same type. The same hard ID or soft ID can’t belong to two customers at the same time in the same project.
Identify the conflicting identifiers
The error usually occurs when:
A row contains multiple IDs that belong to different existing customer profiles.
An imported soft ID links to profiles with different hard IDs.
An existing profile contains inconsistent identifier data from an earlier synchronization or concurrent update, even though the current import file doesn’t contain an obvious duplicate.
For example, an imported row might contain these identifiers:
Identifier | Value |
|---|---|
|
|
|
|
If both identifiers are configured as hard IDs and point to separate profiles with conflicting values for the same hard-ID type, Bloomreach can’t safely merge the profiles. The import discards the affected row, and Bloomreach doesn’t modify the affected profiles during that failed attempt.
Correct the source data
Review the discarded rows in the source data. Compare the identifiers in each affected row, including the hard and soft IDs used by the import.
Check for overlapping identifiers. Confirm that the same soft ID isn’t sent with different hard IDs and that each hard ID represents only one customer.
Correct the source data. Keep the identifiers that belong to the same customer together, and remove or correct identifiers that belong to another profile.
Run the import again. Verify that the affected rows process successfully after you correct the conflicting values.
Contact Bloomreach Support when the file has no duplicates
A clean import file doesn’t always rule out a profile-level issue. If the same row fails repeatedly, an existing customer profile may contain inconsistent identifier data from an earlier merge or synchronization event.
Contact Bloomreach Support and provide:
The link to the failed import.
The affected row or customer identifiers.
The number of discarded rows.
A link to the affected customer profile, if available.
Recover an inconsistent profile with Support
If Support confirms that a profile contains conflicting hard-ID values, Support may recommend anonymizing and deleting the profile before you re-import it. Anonymization can remove personally identifiable information, so export any data that must be preserved before you start.
Follow this recovery sequence only with Support’s guidance:
Export the profile data that you need to retain.
Anonymize and delete the inconsistent profile.
Correct the hard-ID value in the source data.
Re-import the profile with the correct identifiers.
Run the original import again and verify the result.
Don’t delete or anonymize a profile until you’ve confirmed the correct identifier values and data-retention requirements with Support.