SAP Knowledge Base Article - Public

2812611 - Merge error > error code = -7, error data =

Symptom

When trying to merge two Learning users, the system throws a validation error: You cannot merge these two users due to an unexpected validation failure: error code = -7, error data.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

In the Learning admin side, click:

  1. Users > Tools > Merge Users > Search for "user1" and "user2" >
  2. "user1" to "Merge From User ID" > "user2" to "Merge Into User ID" > Merge > Validation error.

Cause

The validation error happens during the merge action because one of the users that is involved in the merge is added as a task observer for the other user.

When the merge action happens, the merge validation throws the "failure: error code = -7, error data" exception to prevent the creation of inconsistent data and this is an expected behavior.

Resolution

It would be necessary to remove the task observer relationship that is existing between the users. E.g.: have the task course removed from the user that has it assigned, perform the merge and add it back to the user.

See Also

2096262 - How to merge users in the LMS

2654731 - Merge user error

2661947 - Unable to Merge User Accounts

2382813 - LMS - Merge user says item/program/curricula was assigned by system AP

Keywords

error code = -7, error data =, merge, error, validation, user, learning , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-ADM , System Admin, Global Variables, References , Problem

Product

SAP SuccessFactors Learning all versions