PDF Embed API: Unable to load PDFs "PREVIEW_RENDERING_FAILED"
- August 28, 2023
- 1 reply
- 1750 views
Hello i have been using the Adobe PDF Embed API for over a year at this point and the problem that i'm facing is that the tool is unable to load certain PDFs after the recent update on July 15th when users started noticing the issue.
The tool tries to load the file but it ultimately ends up with a blank screen or a plugin crash icon and throws up
{code: 'PREVIEW_RENDERING_FAILED'}
This issue is consistent between different browsers (Firefox, Chrome, Edge) and seems to be inconsistent across different files some load other don't with a more pronounced occurrence when dealing with complex drawings. It's worth noting that the affected PDF files are not signed, and they lack any special metadata or annotations. Despite these files being relatively straightforward, the embedding tool fails to load them consistently.
I have replicated this error using the official sample repository provided by Adobe: https://github.com/adobe/pdf-embed-api-samples. Specifically, I am loading the attached PDF under the /localPDFFilePreview route within the React Samples section.
In summary, the main points of concern are as follows:
- The Adobe PDF Embed API is struggling to load certain PDFs after the July 15th, 2023 release.
- The issue seems to be more pronounced with complex drawings, even though the affected PDFs lack annotations, special metadata, or signatures.
- I have confirmed the reproducibility of this error using the sample repository provided by Adobe.
