Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
8.7.5
Detailed description of issue
I have integrated PDF JS express in my project by using manual setup mentioned in PDF.js Express Plus Download & Integration | Documentation.
By completing this steps i can open the demo PDF link provided by PDF JS
ex :
https://pdftron.s3.amazonaws.com/downloads/pl/webviewer-demo.pdf
I have encountering issue while using the PDF.js Express library. Specifically, I am experiencing problems when trying to open PDF files that do not have the .pdf file extension.
The issue is that when I attempt to load a file that does not have the .pdf extension, I am receiving an “Invalid PDF structure” error. This occurs for files that I have confirmed are valid PDF documents.
Expected behaviour
PDF should be load without giving invalid PDF structure error
Does your issue happen with every document, or just one?
It does happen with the same type of PDF URL link
Link to document
Thanks