Error Code Portal
PostgreSQLPostgreSQLError code

42000

syntax error or access rule violation

Alternative forms: syntax_error_or_access_rule_violation

Code 42000 · An issue reported by PostgreSQL.

syntax_error_or_access_rule_violation (Class 42 — Syntax Error or Access Rule Violation)

Troubleshooting and diagnostic links

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