Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Failure to create tenant with import



When trying to create a tenant on 7.2.0, the tenant is created but the import of the Rule-Admin-Product (RAP) file for the tenant fails.

Error Messages

ERROR: duplicate key value violates unique constraint "id"
Detail: Key (id)=(<value>) already exists.


Steps to Reproduce

Not Applicable.

Root Cause

An issue in the custom application code or rules:

The imported RAP has some duplicate records.


Perform the following local-change: 

Remove the duplicate records in the RAP to resolve the issue.


Suggest Edit

Published June 17, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us