Error Code Portal
PostgreSQLPostgreSQLError code

23502

not null violation

Alternative forms: not_null_violation

Code 23502 · An issue reported by PostgreSQL.

not_null_violation (Class 23 — Integrity Constraint Violation)

Troubleshooting and diagnostic links

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