This article addresses the "SmApiWrappedException: Violation of PRIMARY KEY constraint" error encountered in CA Identity Manager. This error typically occurs when the application attempts to perform an operation on the FWSERVICE_REQUEST table within the object store database using a record identifier that already exists, which violates the table's unique primary key constraints.
Identity Manager 14.5
Siteminder 12.8
The error is triggered when the Identity Manager system attempts to perform an 'insert' or 'update' operation on the FWSERVICE_REQUEST table using a key value that is already present in the database. Because the object store is configured with a strict primary key constraint to ensure data integrity, the database prevents the insertion of duplicate records, resulting in the SmApiWrappedException failure.
To resolve this constraint violation, you must remove the conflicting duplicate record from the object store database:
FWSERVICE_REQUEST table that matches the duplicate key value identified in your error message (e.g., value 501).To speak with a customer representative or a Support Engineer see . Scroll to the bottom of the page and click on your respective region.