Highlighted

File preview not available

Community Beginner ,
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

696

Likes

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

File preview not available

Community Beginner ,
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

697

Likes

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

Copy link to clipboard

Copied

i have the same problem with firebase

Likes

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
Reply
Loading...
Community Beginner ,
Feb 12, 2020

Copy link to clipboard

Copied

idem : client Credentials don't work

 

Likes

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
Reply
Loading...
Community Beginner ,
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

Likes

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
Reply
Loading...
Adobe Employee ,
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

Likes

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
Reply
Loading...
Community Beginner ,
Feb 14, 2020

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
Adobe Employee ,
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

Likes

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
Reply
Loading...
Community Beginner ,
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/...

Likes

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
Reply
Loading...
Adobe Employee ,
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.

Likes

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
Reply
Loading...
New Here ,
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...

Likes

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

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
Community Beginner ,
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

 

 

Likes

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
Reply
Loading...
Adobe Employee ,
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. 

Likes

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
Reply
Loading...
Resources