Participating Frequently
March 8, 2022
Question
Adobe embed API corruptFile error within rendition.js
- March 8, 2022
- 1 reply
- 2374 views
Ocassionally when using the Adobe Embed API, the API will successfully load a PDF and it's annotations, and then throw a "corruptFile" error from rendition.js (see attached screenshot). Rendition.js also console.logs undefined multiple times (also visible in screenshot).
In the UI, the API shows an error indicating an issue with the client ID (see attached screenshot 2); this is despite the fact that it is a valid client ID that works most of the time, and the PDF and it's annotations were already loaded. Sometimes this error will be thrown after being able to view the PDF and annotations for up to 30 seconds.
This issue can be reproduced more reliably in incognito mode with a PDF that has annotations.
