Adobe embed API corruptFile error within rendition.js

Community Beginner ,
Mar 07, 2022 Mar 07, 2022

Copy link to clipboard

Copied

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. 

Views

151

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 ,
Mar 07, 2022 Mar 07, 2022

Copy link to clipboard

Copied

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

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 ,
Mar 08, 2022 Mar 08, 2022

Copy link to clipboard

Copied

Can you share the PDF in question?

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 ,
Mar 10, 2022 Mar 10, 2022

Copy link to clipboard

Copied

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. 

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 05, 2022 Apr 05, 2022

Copy link to clipboard

Copied

Hi Joel

 

Just wondering if you have an update on this. This issue is still affecting us. 

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

Are you sure the annotations are valid? And does it consistently break with them or just off and on? Is it available online where we can see?

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

Hi cfjedimaster

 

We are quite confident that the annotations are valid. I have attached the annotations and PDF to my previous reply. When adding these annotations to the PDF there are no validation errors. When adding invalid annotations in the past there have been validation errors. 

 

Additionally, the errors are being thrown from rendition.js, which makes me believe there is a bug or missing error handling there. 

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 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

Ok, thank you for the response. I've taken your source data, and this thread, and filed a bug report internally. 

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 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

LATEST

Thanks!

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