Skip to main content
Participating Frequently
Jan 9, 2022 6:31 PM UTC
Question

PDF Embed API doesn't display complete document

I'm seeing cases where PDF Embed API does not display documents completely. It renders portions of the document but not the entire document. Apparently random blocks and areas of the document (they might be tables?) won't render, they are just blank. But the areas display normally when I view the PDF directly in Chrome or any other reader. 

 

It does not appear to be browser or OS dependent. I've reproduced this in MacOS and Windows, and in Chrome and Firefox. It's the same in both in line and sized container view. It was also reproduceable on the SDK demo page: https://documentcloud.adobe.com/view-sdk-demo/index.html#/customize/FULL_WINDOW

 

The documents in question are invoices from vendors. Electronically generated documents, not scans. I obviously can't easily share them publically. I haven't been able to reproduce the problem in any shareable or recreatable documents yet.

 

Any ideas?

 

Thanks!

 

This topic is closed to new replies. Start a new post to keep the conversation going.

34 replies

Known Participant
Sep 27, 2024 3:48 AM UTC

Most pdfs will have emailto lnks these days, and the pdf embed API almost becomes unsuable for any serious documetngtion, if a simple hyperlink breaks it.  Are there any workarounds, apart from using other solutions and leaving embed?

Translate
Raymond Camden
Community Manager
Community Manager
Sep 27, 2024 3:05 PM UTC

This issue was fixed a while ago. I've confirmed it's fine just now. 

Translate
Known Participant
Sep 27, 2024 5:32 PM UTC

Please have a look at our implemntation for inilne emnbed https://sinosend.com/d/0Myh3fW
The pdf is from a s3 like URL. At around page 7, the rest of the pdf is blank., unless you click on the next page numbers then they pages show up.  The same problem does not occour in other modes apart from inline mode. There is a mailto on the last page, but this may not be realted since you mentiomned it has been fixed.

 

If you have any suggestions why this occours, please let me know. thanks, the PDF was created from powerpoint.

 

Translate
Participant
Sep 8, 2024 10:24 PM UTC

Néé er is nog géén goede investering uitgesproken 

Translate
Reginialeisberg
ronmmmAuthor
Participating Frequently
Apr 14, 2023 9:37 PM UTC

I don't suppose there's been any interest or progress in fixing this bug? It's over a year old.

Translate
Raymond Camden
Community Manager
Community Manager
Apr 15, 2023 3:18 PM UTC

I tested the attached PDF above in our new viewer (we had a major update a few months ago) and the issue does not appear to be there. 

Translate
ronmmmAuthor
Participating Frequently
Apr 15, 2023 5:40 PM UTC

That's interesting. My sites are still having the same exact issues with certain PDFs, like NetSuite invoices generated by "Big Faceless Report Generator". We don't have to do anything special to enable the latest version, do we? I'm using https://documentservices.adobe.com/view-sdk/viewer.js.

 

Translate
Participant
Jun 1, 2022 3:18 PM UTC

I'm having the same issue. It occurs for me after applying redactions using the PyMuPDF library. Other viewers (Acrobat, Edge and Chrome) have no issue displaying these PDFs and I make sure to perform proper garbage collection after applying the redactions. An example document has been attached.
I hope this information might help to resolve this issue, otherwise we will have to start looking for an alternative PDF viewer.

Translate
Known Participant
Jul 6, 2022 4:05 PM UTC

I can confirm this issue happens using the Adobe Acrobat browser extension as well

Translate
ronmmmAuthor
Participating Frequently
Apr 6, 2022 4:43 PM UTC

Any chance this issue will be addressed any time soon?

Translate
cfjedimaster
Inspiring
Apr 6, 2022 5:49 PM UTC

Sorry, I do not have an update for you on this.

Translate
ronmmmAuthor
Participating Frequently
Apr 6, 2022 6:50 PM UTC

Thanks.

 

FWIW, I have found that if I take the PDF and re-print it to another PDF (like open it in Mac Preview and Print to a PDF) then Embed API will render it correctly. But I haven't found a way to implement this in code. In our backend we use EO.Pdf to manipulate PDFs; I tried adding these "bad" PDFs to a new PDF but that didn't fix anything.

Translate
Participant
Jan 24, 2022 8:52 AM UTC
quote

I'm seeing cases where PDF Embed API does not display documents completely. It renders portions of the document but not the entire document. Apparently random blocks and areas of the document (they might be tables?) won't render, they are just blank. But the areas display normally when I view the PDF directly in Chrome or any other reader. 

 

It does not appear to be browser or OS dependent. I've reproduced this in MacOS and Windows, and in Chrome and Firefox. It's the same in both in line and sized container view. It was also reproduceable on the SDK demo page: https://documentcloud.adobe.com/view-sdk-demo/index.html#/customize/FULL_WINDOW ..promo-codes.it

 

The documents in question are invoices from vendors. Electronically generated documents, not scans. I obviously can't easily share them publically. I haven't been able to reproduce the problem in any shareable or recreatable documents yet.

 

Any ideas?

 

Thanks!

 


By @ronmmm
Perhaps you just encrypt part of the document. Try changing your account.
Translate
ronmmmAuthor
Participating Frequently
Jan 31, 2022 6:22 PM UTC

Thanks for the response, Ivan22795859cafy. The documents don't appear to be encrypted in any way. And I don't have to enter a password or do anything special to view the PDF outside of the PDF Embed API.

 

Translate
Known Participant
Feb 1, 2022 8:56 PM UTC
Raymond Camden
Community Manager
Community Manager
Jan 19, 2022 7:14 PM UTC

Would you feel safe emailing me some samples at jedimaster@adobe.com?

Translate
ronmmmAuthor
Participating Frequently
Jan 31, 2022 6:18 PM UTC

Sample sent. Thank you Raymond!

Translate