pdf2json icon indicating copy to clipboard operation
pdf2json copied to clipboard

Node.js Server got stuck when parsing specific PDF while it is working for other PDFs

Open pedrodev033 opened this issue 2 years ago • 2 comments
trafficstars

when trying to call this function this.PDFParser.parseBuffer(PDF) server got stuck. even setTimeout is not working and not getting api call. overall server freeze and I had to restart server. Appreciate the help.

pedrodev033 avatar Nov 15 '23 16:11 pedrodev033

can you upload the PDF file?

modesty avatar Dec 27 '23 19:12 modesty

same issue. here is the pdf file 21583473018.pdf

the error is not getting caught by try catch or pdfParser.on("pdfParser_dataError", errData => console.error(errData.parserError) );

abhithkba avatar Apr 11 '24 12:04 abhithkba