Skip to main content
Known Participant
November 8, 2021
Question

Error message with Adobe Embed PDF API.

  • November 8, 2021
  • 1 reply
  • 863 views

Hello all,

 

This is my first time posting to this forum and using Adobe PDF Embed API so please forgive me if my questions seems basic.

Following instructions I found online mostly at Adobe's own website I created a html index file and placed inside the same folder that contains my PDF file. I registered my domain as www.domain.com and both the index file and the PDF are insider a folder in www.domain.com/folder.

I first tried my API key but then read the instructions again and replaced it by my Client ID, which is what I believe I am required to enter as part of the code in my html page.

Either way didn't seem to work. Once I navigate to the page it displays a gray background with a white rectanble in the center with 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 with domain.com as I am not sure if I'm allowed to post the real domain here and also if it is safe to post it.

Any help you can offer will be greatly appreciated.

Thank you in advance.

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    November 11, 2021

    What do you see in the JavaScript Console?

    JRC_UserAuthor
    Known Participant
    November 12, 2021

    Hi Joel_Geraci,

     

    Thank you for your help and reply to my post/question.

    What is a JavaScript Console and how do I use it? I thought this was a simple solution and didn't imagine I would need to have programming knowledge to execute it. Can you please help me?

    Thank you again.