Error Code Portal
PostgreSQLPostgreSQLError code

23505

unique violation

Alternative forms: unique_violation

Code 23505 · An issue reported by PostgreSQL.

unique_violation (Class 23 — Integrity Constraint Violation)

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.