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

Adobe Embed PDF API doesn't work.

Participant ,
Nov 21, 2021 Nov 21, 2021

Copy link to clipboard

Copied

Hi,

 

I have created a html index file and placed inside the same folder that contains the PDF file. I registered my domain as www.domain.com and both the index file and the PDF file are inside a folder in www.domain.com/folder.

Once I enter the web address in my browser it displays the following message:

 

"File preview not available

This application domain (http://www.domain.com) is not authorized to use the provided PDF Embed API Client ID."

 

I have replaced my real domain name here with domain.com as I am not sure if I'm allowed to post it and for privacy reasons. 

Following a previous question I received, here is what I found on the JavaScript Console:

 

[Info] Successfuly preconnected to https://p.typekit.net/
[Info] Successfuly preconnected to https://use.typekit.net/
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (favicon.ico, line 0)
[Error] Origin http://www.domain.com is not allowed by Access-Control-Allow-Origin.
[Error] Fetch API cannot load https://viewlicense.adobe.io/viewsdklicense/jwt due to access control checks.
[Error] Failed to load resource: Origin http://www.domain.com is not allowed by Access-Control-Allow-Origin. (jwt, line 0)

 

Any help will be imensely appreciated.

Thank you!

TOPICS
PDF Embed API

Views

165

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
no replies

Have something to add?

Join the conversation
Resources