Troubleshooting
Problem
Whilst trying to import a configuration in the form of a .res file, the process fails with the error message "An object already exist with the provided name."
Symptom
The client.log will show something similar to:
[http-nio-443-exec-194] ERROR o.h.engine.jdbc.spi.SqlExceptionHelper - ERROR: duplicate key value violates unique constraint "field_defs_org_id_type_id_fdef_name_idx" Detail: Key (org_id, type_id, fdef_name)=(201, 0, force_password_change_required) already exists.
[http-nio-443-exec-194] ERROR o.h.engine.jdbc.spi.SqlExceptionHelper - ERROR: duplicate key value violates unique constraint "field_defs_org_id_type_id_fdef_name_idx" Detail: Key (org_id, type_id, fdef_name)=(201, 0, force_password_change_required) already exists.
[http-nio-443-exec-194] INFO com.co3.web.rest.Co3ExceptionMapperBase - Mapping exception to REST
javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:112)
...
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "field_defs_org_id_type_id_fdef_name_idx"
Detail: Key (org_id, type_id, fdef_name)=(201, 0, force_password_change_required) already exists.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z000000cvqeAAA","label":"Resilient Core-\u003EImport \/ Export"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
28 June 2024
UID
ibm16131709