• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

PDF Embed API doesn't display complete document

Community Beginner ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

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!

 

TOPICS
PDF Embed API

Views

311

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 19, 2022 Jan 19, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2022 Jan 31, 2022

Copy link to clipboard

Copied

Sample sent. Thank you Raymond!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

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 @Ron Michael Zettlemoyer
Perhaps you just encrypt part of the document. Try changing your account.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2022 Jan 31, 2022

Copy link to clipboard

Copied

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.

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

Yes, it does contain an email. Thanks for pointing out that thread. But I'm not seeing the exact same behavior. And none of the content after the email address is missing. But it still might be related.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

If you open up the PDF in Adobe Reader, right click on the document and go to Document Properties, what do you see as the "PDF Producer"?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

The producer is the Big Faceless Report Generator. LOL. 

https://bfo.com/products/report/?version=work-20200610T1518-r36819M

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

Most likely the same email address issue. That report generator is used by NetSuite to generate invoice PDFs, which often have a clickable email address included in the PDF document.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 06, 2022 Apr 06, 2022

Copy link to clipboard

Copied

Any chance this issue will be addressed any time soon?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 06, 2022 Apr 06, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 06, 2022 Apr 06, 2022

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 01, 2022 Jun 01, 2022

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 06, 2022 Jul 06, 2022

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources