DirWiz Logo
Knowledgebase

Article Tags

Error on Sync to Notes Destination Constraint_Violation

2017-06-12 10:39:36
Errors Lotus Notes / Domino Troubleshooting UnitySync 

This is a common error when syncing to Lotus Notes.

The default mapping for Last Name is sn#64=~sn~. This means the source sn must be populated in order to successfully set the destination sn (Last Name).

Notes requires that sn be populated. So if the source sn is blank, the Add to your Notes destination will fail with a Constraint_Violation error.

The workaround for this is to use a custom object map file and change the sn mapping as follows:

sn#64=& '~sn~' eq " \? '~component0~' : '~sn~' &

With this adjustment, if the source sn is blank, the Destination Notes sn will be populated with the source cn value from the DN, which will enable the object to Add successfully.

Share this article: Twitter reddit