Error Code Portal
PostgreSQLPostgreSQLError code

22P04

bad copy file format

Alternative forms: bad_copy_file_format

Code 22P04 · An issue reported by PostgreSQL.

bad_copy_file_format (Class 22 — Data Exception)

Troubleshooting and diagnostic links

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