Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Embed PDF API - download failed error on phone and ipad

New Here ,
Sep 14, 2020 Sep 14, 2020

Hi

I was able to successfully embed the pdf using the API.

However i am getting donwload failed . Try Again message, when trying to download the same pdf in mobile devices.

 

The functionality is working fine when trying to download on desktop.

893
Translate
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 ,
Sep 14, 2020 Sep 14, 2020

Can you share the PDF in question?

Translate
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 ,
Sep 14, 2020 Sep 14, 2020

Hi Joel

 

The issue is around the IE and Chrome .

When trying to download vias mozialla or safari it is downloading .

 

Translate
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 ,
Sep 14, 2020 Sep 14, 2020

I can check on Chrome but... IE on mobile?

Do you mean a Windows Surface or something that's running full Windows?

Translate
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 ,
Sep 14, 2020 Sep 14, 2020

I am trying on Android phone.

I was initially using chrome browser and enabled downloadin the api.

However it was not downloading

 

Then tried mozilla firefox and worked fine

Facing similar issue with internet explorer in android phone.

 

Translate
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 ,
Sep 14, 2020 Sep 14, 2020

Only other thing is  that the pdf is embedded in iframe.

Translate
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 ,
Sep 14, 2020 Sep 14, 2020
LATEST

Ok - So the Embed API creates an iframe to render the PDF, are you saying that the "divId" you are setting in the AdobeDC.View is also in an iframe. If so, I'm not surprised that's problematic. Nested iframes are an issue for a number of reasons even outside of Embed API.

 

TIL: IE on Android. I had no idea.

Translate
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