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

PDF Embed API does not loading PDF

Community Beginner ,
Jul 26, 2020 Jul 26, 2020

I am using PDF Embed API to embed pdf files, but some pdf files are not loading. Random files not opening. Moreover, I got this error "PREVIEW_RENDERING_FAILED"

 

PDF file not loading: https://www.nammakalvi.in/uploads/3/0/7/5/30750087/namma_kalvi_10th_science_biology_ganga_guide_em_2...

TOPICS
PDF Embed API
4.4K
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 Beginner ,
Jul 26, 2020 Jul 26, 2020

I just got these outputs.

Screenshot_1.pngexpand imageScreenshot_2.pngexpand image

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
Adobe Employee ,
Jul 26, 2020 Jul 26, 2020

Hi, Thanks for using PDF Embed API, There is CORS related problem with the PDF URL you are providing.

Could you please go through the official documentation , and look for Cross-origin resource sharing under section "Passing file content"?

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 Beginner ,
Jul 26, 2020 Jul 26, 2020

How is it CORS related? This PDF works fine (https://www.nammakalvi.in/uploads/3/0/7/5/30750087/namma_kalvi_10th_science_unit_20_to_23_don_guide_...).

 

But some PDF like that above, are not working and opening. All PDFs are on the same website.

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
Adobe Employee ,
Jul 26, 2020 Jul 26, 2020

Thanks for sharig the details.

The issue seems to be the PDF specific. We will look into this issue and update you as it resolved.

 

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 Beginner ,
Jul 26, 2020 Jul 26, 2020

Okay, Thank you.

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

You are having a laugh here, right?

 

First you flat out mis-diagnose the issue and direct the user to the entire documentation then you just up and leave when the user calls out your assumption... Just wow.

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 ,
Apr 26, 2021 Apr 26, 2021

I am also facing the same issue, Can you provide an update on this issue?

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
Adobe Employee ,
Apr 28, 2021 Apr 28, 2021

It does appear to be something related to that specific PDF, but I am not sure exactly what it is. I have passed your file on to our engineering team to have a look why. However, if I took that PDF and opened it in Acrobat and did something simple like compression, the new file worked just fine. So while this doesn't provide the answer of why, the solution might very be update your PDF file, render, or update your file with a different renderer (like Acrobat).

 

@Vigneshwaran5E44 is your issue pertaining to a different document or referring to the same document? As stated in a previous message, the most common issue people have are related to a CORS issue. Can perhaps provide what errors you are seeing in your browser console?

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 ,
Oct 04, 2021 Oct 04, 2021

I have the same problems today. It works previously. But tonight, it's showing the "PREVIEW_RENDERING_FAILED" error after a long loading time. Here is the file I am working with, and it works well yesterday: https://sodaa360.com/wp-content/uploads/newsletters/weekly/SoDAA-Weekly-Newsletter-9.27.pdf. However, Adobe sample file works well: https://documentcloud.adobe.com/view-sdk-demo/PDFs/Overview.pdf

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 ,
Oct 11, 2021 Oct 11, 2021

Hi @Zhenhua5D87 , May i know if you find any solution for this? from last night the same issue is happening with me

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 ,
Oct 11, 2021 Oct 11, 2021
LATEST

No, there is no solutions so far. 

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 ,
Oct 11, 2021 Oct 11, 2021

Since few days I get the same error, even though I didn't change any line of my code, that used to work properly.

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