Skip to main content
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. 

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    March 8, 2022

    Adding more info: I only received this issue for the first time during the last 1-2 weeks. 

    Joel Geraci
    Community Expert
    Community Expert
    March 8, 2022

    Can you share the PDF in question?

    Participating Frequently
    March 11, 2022

    Hi Joel

     

    Apologies for the delay getting back to you. 

     

    The issue seems to occur when the file 'Senator profileMainBriefFile (1).pdf' has the annotations in annotations.json applied. If I load the file without annotations it loads without issue. 

     

    'Senator profileMainBriefFile.pdf' shows the file after annotations are applied.