Skip to main content
Known Participant
November 21, 2021
Question

Adobe Embed PDF API doesn't work.

  • November 21, 2021
  • 0 replies
  • 466 views

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!

This topic has been closed for replies.