Skip to main content
Participating Frequently
January 9, 2022
Question

PDF Embed API doesn't display complete document

  • January 9, 2022
  • 7 replies
  • 9351 views

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 has been closed for replies.

7 replies

Known Participant
September 27, 2024

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?

Raymond Camden
Community Manager
Community Manager
September 27, 2024

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

Known Participant
September 27, 2024

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.

 

Participant
September 8, 2024

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

Reginialeisberg
ronmmmAuthor
Participating Frequently
April 14, 2023

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

Raymond Camden
Community Manager
Community Manager
April 15, 2023

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. 

ronmmmAuthor
Participating Frequently
April 15, 2023

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.

 

Participant
June 1, 2022

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.

Known Participant
July 6, 2022

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

ronmmmAuthor
Participating Frequently
April 6, 2022

Any chance this issue will be addressed any time soon?

cfjedimaster
Inspiring
April 6, 2022

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

ronmmmAuthor
Participating Frequently
April 6, 2022

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.

Participant
January 24, 2022
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.
ronmmmAuthor
Participating Frequently
January 31, 2022

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.

 

Known Participant
February 1, 2022
Raymond Camden
Community Manager
Community Manager
January 19, 2022

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

ronmmmAuthor
Participating Frequently
January 31, 2022

Sample sent. Thank you Raymond!