QRY1002 An invalid header record was encountered.

Explanation

The query was loaded with errors.

User response

Try to reload the query; otherwise the query is corrupted.