<----Please try to adhere to this template when reporting bugs and delete this top section between and including the arrows when posting! ---->
Description of the issue:
PDF file fails to open or to be downloaded
Steps to Reproduce (add as many as necessary):
I just click to open/download on any PDF file link
Get the error on every website, especially those where I’m logged in (bank, webmail, shopping website…), while it works with Safari without any problem.
Actual Result (gifs and screenshots are welcome!):
PDF.js v2.0.673 (identifiant de compilation: 31012570)
Message: Invalid PDF Structure
Hi @SuperDupont,
Brave comes with a built in pdf viewer (PDFjs)but we’ve been having some issues surrounding it recently.
However, to workaround this until the issue is addressed, you can install a PDF viewer extension that will allow you to view pdfs in-browser. Not a super convenient answer but should alleviate the problem until we can resolve it on our end.
Error says the element is being downloaded (in progress) and added to Chrome, which is not the case at all !!! I can just close the pop-up, no extension installed in the end.
@jerrygoyal,
We’ve addressed several PDF issues but there are some that still remain. If you can provide a link the PDF you’re attempting to access as well as a more detailed description of your issue and/or a screenshot of the error you’re seeing we’d be happy to help find out what’s going on.
The issue is still there, but only on sites where I’m looged in !!
If I have to access to a pdf on any “non connected” websites, there is no issue at all, the pdf is displayed.
If I’m logged in (bank, insurance…), I can’t acess directly to the pdf (the display is broken). The only solution is to download it.
I’m getting the same error when attempting to view a bill from my Electricity provider (Energy Australia). The “PDF.js v2.0.673 (build: 31012570) Message: Invalid PDF structure” error.
However, even right-clicking to Save As… on my computer downloads a version of the PDF that cannot be opened (macOS - Preview reports a problem with the PDF file).
Attempting same in Safari and it views and downloads okay.
we have the same error reading pdf inline,
and this is EXTREMALLY important, because at this moment Brave is usless as a browser,
and we are forced to switch to chrome.
Why the setting to force download PDF is NOT working?
Crutial bank pages via Brave are useless now, we cant get any PDF confirmations.
We set up the setting to dwonload PDF, but the setting is NOT working,
PDFa are still being tried to open inside browser (with error thrown:
Unexpected server response. Less Information Close
I have the same issue (Invalid PDF structure or corrupted file). Merrill Lynch says “Our tax documents are encrypted, and this browser faces issues with decrypting the document when opening it.”. They were speaking of Edge which has the same problem. IE11 works just fine. My version of Brave is (from about Brave - Brave is up to date Version 0.58.21 Chromium: 71.0.3578.98 (Official Build) (64-bit)).
Note: Merrill Lynch says it is a decryption issue. They do not provide a straight file download option.
I have only used brave for a few days and am generally happy. But this is a showstopper unless it is fixed soon.
@LeoHamm,
The issue linked to above describes exactly that behavior. It is strange though, considering that issue should have been addressed a while back. I’m going to reach out to the team and see if they have any idea why it may be regressing.
I’ll return when I have more information. Thank you for your patience.
PDF.js v2.0.673 (build: 31012570)
Message: Invalid PDF structure
Unable to open a PDF on any site where I am logged in. I have looked at other questions and answers and it appears the issue was thought to have been fixed with an earlier version, but I continue to have the same problem.
I’d like to test and see if you can at least download the PDF files to view them. Open the main menu, navigate to Settings --> Advanced --> Privacy and Security --> Content Settings --> PDF Documents - toggle this option “ON” if it isn’t already and try opening the link again.