SYMPTOM:
When running ScanMD against a metadata, inconsistencies are discovered as shown below:

Selecting all the inconsistencies and click Next to fix, but failed as shown below:

CAUSE:
One possible cause for this issue is the project schema is locked. Once it is locked by one session, it cannot be changed by another session.
ACTION:
Release the schema lock. If the user does not know in which session the project schema is locked, edit any schema object from Desktop, like any attribute, and close the editor, the schema lock will be removed automatically.