XML Import Fails With Unique Constraint (ParentObjectId,Name) violated. (Doc ID 2267844.1)

Last updated on MAY 23, 2017

Applies to:

Primavera Gateway - Version 16.2.4.0 and later
Information in this document applies to any platform.

Symptoms


XML Master Data Import Fails With Unique constraint (ParentObjectId,Name) violated.

When importing Resource and Role data from XML to P6 through Gateway the following error occurs:

<RoleResponse action="create" executed="create" status="error">
<ObjectId>xxx</ObjectId>
<DetailedError>
Errors located:
Name: Unique constraint (ParentObjectId,Name) violated. The value xxx of the field Name already exists.</DetailedError>
</RoleResponse>

  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms