This looks like a strange issue, but I’m reporting this here in case if anyone else is facing a similar issue. I recently updated the n8n version to 0.114.0 and one of my workflows which was reading a PDF started failing with “bad XRef entry” error. Note that it happens only with a few PDFs and not all. The moment I reverted back to the older version (v0.110.0), this started working fine.
The problem may not really be with n8n per se, but one of the libs used by Read PDF node. Was there anything changed recently with the Read PDF node?