logoalt Hacker News

freeamz05/04/20251 replyview on HN

Doesn't seem to be working ATM:

Console. Chrome based browser. Uncaught (in promise) wc: Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.


Replies

philjohnson05/04/2025

You're encountering this error if the document uploaded is encrypted. I previously supported it, but ran into issues re-encrypting the PDF when you download. I'll fix this soon so it is supported properly. In the mean time I'll handle encrypted documents more gracefully. Thanks for pointing the error out