Skip to main content
Participating Frequently
August 25, 2024
Question

The application domain is not authorized to use PDF Embed API only certain devices

  • August 25, 2024
  • 2 replies
  • 4053 views

Hello Adobe Community,

I’m encountering a puzzling issue with the Adobe PDF Embed API. My website integrates the API to display PDFs directly on the page, and it has been working fine for most users. However, recently, I’ve started receiving an error on certain devices that states, “The application domain is not authorized to use the PDF Embed API.”

Here’s some background on the situation:

  • Implementation: The API is correctly set up with the appropriate client ID, and it functions normally on most devices.
  • Issue: On specific devices, the PDF viewer fails to load, showing an error message about the domain not being authorized to use the API.
  • What I’ve Tried:
    • Cleared browser cache on the affected devices.
    • Tested the site across multiple browsers and devices, with the issue appearing only in certain environments.
    • Confirmed that my domain is registered in the Adobe Developer Console and should be authorized.
    • Verified that my website is served over HTTPS.

I’m unsure why this problem is occurring only on certain devices. Has anyone else faced this issue, or does anyone have suggestions for resolving it? Any guidance would be greatly appreciated.

    This topic has been closed for replies.

    2 replies

    Participant
    September 23, 2024

    I am also having problems with ios 18 safari. It seems that pages do not render properly as well, aside from the domain api problem.

    Raymond Camden
    Community Manager
    Community Manager
    September 23, 2024

    Yes, we've confirmed this. I've reported it - will let folks know when there is an update.

    Participant
    September 27, 2024

    I've been able to sort out that both Chrome and Safari have this issue on iOS 18. Is there any solution yet, otherwise all I can do is take all landing pages down with a notice that the PDF viewer is under maintenance.

    Raymond Camden
    Community Manager
    Community Manager
    August 26, 2024

    Not sure what to suggest. Is it always one KIND of device/browser? Or random? If you can run the device in front of you and consistently reproduce, what happens if you use remote browser debugging?

    Participant
    August 29, 2024

    I have this issue too and it is very frustrating. I'm viewong on a normal PC desktop. Chrome browser. It first loaded on every refresh where I'm able to see my PDF for 2 seconds and then the error message came up:

    File preview not available


    This application domain (https://wrave.io) is not authorized to use the provided PDF Embed API Client ID.

    Raymond Camden
    Community Manager
    Community Manager
    August 29, 2024

    So as I told the other person - if you can find a way to repro this consistently - ie, hit this url with this browser, I can try to replicate. Also, if you can open up devtools and see if anything is there, that would help as well.