PDF Embed API: We were unable to post your comment, please try again

Community Beginner ,
Sep 22, 2020 Sep 22, 2020

Copy link to clipboard

Copied

Only in certain .pdf's I am not able to post any annotations:

Yorick5F96_0-1600779199416.png

Any idea why this could be? The pdf renders well and there isn't any error in the console when annotating.

 

Furthermore, this is not always visible to the users as they make annotations after eachother and this message only shows when the annotation is clicked. This results in users losing their annotations as there is no "annotation failed" event I can listen to to warn users nothing is being saved.

 

I the attachment you find an example of such a file.

Views

271

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
Adobe Employee ,
Sep 22, 2020 Sep 22, 2020

Copy link to clipboard

Copied

Hi, Thanks for using PDF Embed API. Sorry for the inconvenience. Is this happening every time when you try to add an annotation? If so, Could you please let us know which annotation you are trying to add?

I tried your file on our PDF Embed API Demo https://documentcloud.adobe.com/view-sdk-demo/index.html , somehow it is working for me. I tried adding Note and Shape.

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 ,
Sep 22, 2020 Sep 22, 2020

Copy link to clipboard

Copied

The error occurs at any annotation. I tried the PDF Embed API Demo and was able to reproduce it there as well (using frefox 80.0.1 if that matters) :

Yorick5F96_1-1600782987609.png

 

I found in the demo that the error does not always occur directly but sometimes after a few annotations were made.

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 ,
Oct 02, 2020 Oct 02, 2020

Copy link to clipboard

Copied

@Shubhanshu DixitWhere you able to reproduce the problem?

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
Adobe Employee ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

Hello,

We have taken note of the issue and will work on resolving it at the earliest. Would be great if you can share other PDFs where you see this issue. 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
New Here ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

I thank you

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 ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

Certainly, when I get reports of similar problems with other PDFs I will share it here. Thanks a lot!

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
New Here ,
Mar 15, 2021 Mar 15, 2021

Copy link to clipboard

Copied

I had a similar issue here.

 

You might have luck following the solution there, which was to ensure you're always passing an ID in your metaData in the previewFile promise.

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 15, 2021 Mar 15, 2021

Copy link to clipboard

Copied

LATEST

Thank you for the comment!

In my case the problem was limited to a specific file and occured also in the PDF Embed API Demo on adobe.com . Was your problem also limited to specific files as well?

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