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

Data Type import does not handle unique values in a data table



PSQLException error in the logs when the ‘key’ is selected from a unique column in the data type in the database. This does not occur when importing data with duplicate column values in the database.

Error Messages

SQLState 23505, Error code 0: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint.

Steps to Reproduce

  1. Create a table with one of the columns having a unique value constraint on it, and one or more properties as class key values
  2. Import the CSV file with duplicate values for that column and click Upload.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-35763.

Suggest Edit

Published November 6, 2017 - 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