Skip to main content
New Participant
June 3, 2020
Question

File Preview Not Available. Domain Not Authorized

  • June 3, 2020
  • 2 replies
  • 7322 views

I successfully integrated on one site I manage for work with no issues, however on the other site I manage in a volunteer role I'm seeing the issue that the "File Preview is Not Available. This application domain (http://phadp.org) is not authorized to use the provided View SDK Client ID."

 

I've double checked the key and the domain I used when registering, but I cannot figure out why I continue to get this message.

 

http://phadp.org/?q=node/832

 

Any help would be appreciated. 

    This topic has been closed for replies.

    2 replies

    New Participant
    April 23, 2022

    Add www. to your domain url .It worked for me.

    Adobe Employee
    June 3, 2020

    Hi Malkayah, Thanks for using View SDK, It is because you whitelisted API Key for domain www.phadp.org but you are trying to access your website by phadp.org domain.  


    http://www.phadp.org/?q=node/832 This is working.

    MalkayahAuthor
    New Participant
    June 3, 2020

    Thanks for the reply. Is there a way to add both variations of the domain to the whitelist? Obviously I have no control over how end users chose to visit the domain.

    German5FFC
    Participating Frequently
    May 3, 2021

    @German5FFC 

     

    How can we disable commenting in the annotation feature

     


    You should set showAnnotationTools on false.

    For example:

    var adobeDCView = new AdobeDC.View({clientId: "blablabla1", divId: adobe-dc-view});
    adobeDCView.previewFile({
    content:{location: {url: url}},
    metaData:{fileName: name}
    }, {embedMode: "FULL_WINDOW", showAnnotationTools: false});