pdf2json
pdf2json copied to clipboard
TypeError: infoDict.has is not a function
TypeError: infoDict.has is not a function
at PDFDocument.get documentInfo [as documentInfo] (eval at
please upload your testing PDF
Hi @modesty / @ElModdy, I'm unsure if this is the same issue, but I think it is.
I put an example pdf in a gist here:
https://gist.github.com/paulroth3d/9b47d9edc776f7243582da65961bbd79
I did notice, that the problem may have something to do with multiple pages in pdfs.
Once I extracted out the page I wanted from the PDF, then the issue went away.