Ingest: Add validation error when wrong statement