Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

error to load using tpostgresoutput duplicate key

hi,

I got this error while to load data to postgres database

Exception in component tPostgresqlOutput_1
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "pk_cop_company_profile"
Detail: Key (company_profile_id)=(0) already exists.

 

Labels (2)
3 Replies
lojdr
Creator II
Creator II

Hello,

 

can you check if the record you want to insert uses primary key (pk_cop_company_profile) value that is not already in the database?

 

Regards

Lojdr

Anonymous
Not applicable
Author

the database is empty already
lojdr
Creator II
Creator II

Hello,

 

can you please post here the insert you are using and the table definition you are have in the database?

 

Regards

Lojdr