Error Code Portal
PostgreSQLPostgreSQLError code

22004

null value not allowed

Alternative forms: null_value_not_allowed

Code 22004 · An issue reported by PostgreSQL.

null_value_not_allowed (Class 22 — Data Exception)

Troubleshooting and diagnostic links

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