Skip to main content
New Participant
July 29, 2020
Question

Localhost PDF Embed API is not working

  • July 29, 2020
  • 3 replies
  • 6848 views

Hi,

I am trying to use PDF Embed API in my localhost environment,
I registered the domain (local) but is not working.
See the attachments

This topic has been closed for replies.

3 replies

Nibha24114765u2cs
Participating Frequently
May 1, 2023

I have created the "localhost" key. and it worked with https://localhost But not working for app://localhost.

Are both URLs different? If yes then how to create a key for "app://localhost"?

I have been facing this issue since 25 Apr 2023 before this it was working for both https://localhost and app://localhost.

Nibha24114765u2cs
Participating Frequently
May 2, 2023

I have an iOS mobile app developed with Cordova, using Cordova-ios 6.2.0. In this version, the default URL scheme is app:// and a hostname can be configured in the config.xml file. So the requests from the mobile app to the backend all originate from the app://localhost.
And I have created the API key for "localhost", Which was not working. 

Adobe Employee
July 31, 2020

Thanks for using View SDK, sorry to hear that you are not able to get it to work and appreciate you sharing addional details about the issue. Usually this error occurs when we use invalid/incorrect client id or using correct client id in wrong domain etc. We need more details to debug further, request you to check your console network logs and confirm if the viewlicense call is failing like below.    

LeoDeckoAuthor
New Participant
August 3, 2020

I resolve it.

It was a problem with my web security trousted sources.

Thank you

New Participant
November 21, 2022

@LeoDecko  If you are resolved this problem kindly help me out. 

July 30, 2020

I am facing the same difficulty.