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

File preview not available

Guest
Feb 11, 2020 Feb 11, 2020

Copy link to clipboard

Copied

This application domain (https://alex.patrut.com) is not authorized to use the provided View SDK Client ID.

not available.PNG

 

index.html contains the following code:

Index.PNG

 

The application domain alex.patrut.com is configured to be autorized in console:

api.png

 

What is the problem?

TOPICS
General

Views

2.0K

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
New Here ,
Feb 11, 2020 Feb 11, 2020

Copy link to clipboard

Copied

i have the same problem with firebase

Votes

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
Guest
Feb 12, 2020 Feb 12, 2020

Copy link to clipboard

Copied

idem : client Credentials don't work

 

Votes

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
Guest
Feb 12, 2020 Feb 12, 2020

Copy link to clipboard

Copied

Other people are reporting the same problem, it might be an issue with the adobe service. Can we please get an update from the adobe team? @Tariq_Ahmad_Dar

Votes

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
Adobe Employee ,
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

View SDK needs different credential. Please visit https://www.adobe.io/apis/documentcloud/dcsdk/gettingstarted.html to create a client credential for View SDK. Let us know if you run into any issues. The screen for creating View SDK client credetial will look like following -

 

View-SDK-Client.png

Votes

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
Guest
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

Votes

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
Adobe Employee ,
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

I should have also mentioned that creating client credential from IO console has a bug. Until that's fixed, please use 'Click here to access' as in following UI when you create client credential from IO console.

View-SDK-Client.png

Votes

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
Guest
Feb 17, 2020 Feb 17, 2020

Copy link to clipboard

Copied

According to my tests it works when the "API Key/Client ID" is generated with certain "Adobe ID" accounts and not with others.

 

...strange...

 

And when it's work, it's not available in Incognito mode :

https://community.adobe.com/t5/document-cloud-sdk/file-preview-not-available-in-incognito-mode/td-p/...

Votes

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
Adobe Employee ,
Feb 17, 2020 Feb 17, 2020

Copy link to clipboard

Copied

Based on information in https://community.adobe.com/t5/document-cloud-sdk/file-preview-not-available-in-incognito-mode/td-p/..., looks like you were not using right Client ID but good to know that it's working fine now.

Votes

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
Guest
Feb 18, 2020 Feb 18, 2020

Copy link to clipboard

Copied

No, it still does not work and it was the correct ID on this test page.

https://www.damezumari.net/WORK/Demo_PDF/

 

The problem with a bad Client ID and incognito mode was a different test page :

https://www.damezumari.net/WORK/Demo_PDF2/

 

See here : 

https://community.adobe.com/t5/document-cloud-sdk/client-id-work-don-t-work-depending-on-adobe-id/td...

Votes

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
Adobe Employee ,
Feb 20, 2020 Feb 20, 2020

Copy link to clipboard

Copied

LATEST

Votes

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
Guest
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

I got it to work now. Well, not at first at least. Just by creating new credentials didn't do it, I was having the same error. However, out of frustration I went line by line, in the code sample provided by adobe, when I noticed that they included 3 space lines before {location. I didn't think it would matter, but my OCD inspired me to remove them since they are not needed. Guess what, it works for me now... If someone would try and let us know that would be awesome. 

 

Here is index.php in text format: https://alex.patrut.com/resume/sample.txt. Maybe you can try to copy that, update it with your id and give it a try. 

it works.PNG

 

 

Votes

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
Adobe Employee ,
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

Hi, its good that you got it working. But in your commented piece of code looks like you are passing the client id including delimiters "<" & ">", which was creating the problem. 

Votes

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
Resources