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

PDF Embed API unable to render document

New Here ,
May 24, 2022 May 24, 2022

Copy link to clipboard

Copied

Hello, I'm attempting to use the PDF embed API to view files in an Angular application. Most of the files render completely fine, but mainly redacted files seem to not render properly. I’ve added both an original and a redacted version of a file that renders incorrectly. If you open the redacted version in for example the Adobe PDF Embed API Demo (https://documentcloud.adobe.com/view-sdk-demo/index.html) you’ll see that it doesn’t render and when you open the dev-tools, the console is full of errors. The stack-trace can be seen here:

GudjonB_0-1653395609088.png

 

Has anybody else experienced this or is this a known limitation of the embed api?

TOPICS
PDF Embed API

Views

119

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 Expert ,
Jun 09, 2022 Jun 09, 2022

Copy link to clipboard

Copied

LATEST

These PDF files are seriously broken. Most PDF viewers will compensate by "repairing" the files before displaying but we don't have that technology in Embed API. Too often developer tools including early versions of iText, the producer of these PDf files, cut corners knowing that Acrobat can "fix' them. Embed API is far more strict so it won't display broken files.

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