DYN Connector Sync Error When Using Compound Attributes
search cancel

DYN Connector Sync Error When Using Compound Attributes

book

Article ID: 259829

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite

Issue/Introduction

When creating or modifying a DYN connector that includes a compound attribute, you may encounter a CONSTRAINT_VIOLATION error during account synchronization. This occurs when the connector attempts to add a new value to an attribute that is incorrectly identified as single-valued, despite being configured otherwise.

Sample Error Message:

20221118:163636:TID=001a90:Modify :C717:C706:F: FAILURE: Child Modify (eTDYNAccountName=MyAccount)... code 19 (CONSTRAINT_VIOLATION): failed to modify entry ...attribute eTDYN-str-multi-xx: Attempt to add value to single-valued attribute which already has a value.

Environment

Identity Manager

Cause

The issue is caused by a metadata configuration conflict within the connector. The Provisioning Server is incorrectly treating a compound attribute as a single-valued attribute, preventing the "replace" operation required for proper synchronization.

Resolution

To resolve this, you must update the connector metadata to correctly identify the attribute as multi-valued:

  1. Update Connector Properties:

    • In Connector Xpress, locate the attribute under Extended properties.
    • Check the isMultivalued checkbox.
    • Set the force modification mode to Replace.
  2. Modify Metadata:

    • Export the existing endpoint metadata to an XML file.
    • Open the file in a text editor and replace all instances of eTDYN-str-multi-xx with eTDYN-str-xx (where the string refers to the compound attribute).
    • Save the file.
  3. Deploy Changes:

    • Create a new endpoint type using the modified XML file.
    • Test the synchronization to ensure the error is resolved.