Created attachment 153269 [details] Document that generates error SUMMARY I'm getting these error when opening pdf's created with Google Drawings: "Some errors were found in the document, Okular might not be able to show the content correctly." The message disappears after a few seconds and, at least in my case, the documents are displayed correctly. I'm using Linux Mint 21 and installed the flatpak version of Okular. PDF's created with Google Docs don't seem to have this problem.
Created attachment 153270 [details] error message
The document is malformed, it says it has Outlines in PDF object 2 and then there's no PDF object 2, so we tell you the document is broken.
I think the attached example is a valid pdf, because the objects declared free are also physically absent and that's coherent. This is also what ISO 32000-1 - 7.3.10 says. If any object were declared free but were present then ignore it too: follow the xref and avoid scanning the whole file. If the object is declared used that's another story.