Error Code Portal
PostgreSQLPostgreSQLError code

42846

cannot coerce

Alternative forms: cannot_coerce

Code 42846 · An issue reported by PostgreSQL.

cannot_coerce (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.