ERROR: One or more rows violate primary key constraint on ...


You attempted to insert rows in a table using insert_rows() but the rows being inserted violate the primary key constraint on the table. That is, the insert would cause one or more rows in the table to contain duplicate values in the columns of the primary key constraint.


You cannot insert rows that violate a primary key constraint.


  • The error message identifies the columns in the primary key constraint.
Have more questions? Submit a request


Article is closed for comments.

Powered by Zendesk