Skip to main content
Participant
April 4, 2024
Question

Running locally I get error: This application domain (http://127.0.0.1:5500) is not authorized

  • April 4, 2024
  • 1 reply
  • 643 views

I have added my API key to the clientId:

 

var embeddedView = new AdobeDC.View({
    clientId: API_KEY,
    divId: divId
  });

 

When I go to index.html in a browser I get this error in a JS alert:

 

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

    This topic has been closed for replies.

    1 reply

    Participant
    April 4, 2024

    I am using the Adobe Embed API.

    Participant
    April 4, 2024

    I have read throught the getting started docs and have not found any info about "clientId", I am not clear if that is the same things as API or not. I have tried searching the docs with the term "clientID" at this URL, but it just spins indefinitely: https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/gettingstarted/?query=clientid&keywords=&index=all

     

    Raymond Camden
    Community Manager
    Community Manager
    April 4, 2024

    You don't need a clientID, that comes from PDF Services. PDF Embed uses key tied to a domain/url. Get that credential instead. 

     

    https://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-embed-api