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

DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied.

Community Beginner ,
Aug 02, 2023 Aug 02, 2023

Copy link to clipboard

Copied

Hi All,

In normal window application able to load, preview and able to add annotations to adobe pdf api embed but if I try to access in incognitive tab(In browser setting third party cookies are disabled for incognitive tab) we will get below error. if I enable All cookies in browser even in incognitive its starts getting work. How to fix this issue without enabling all cookies in browser.

"dc-core.js:2 DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document".

Please help us in solving this issue.

Thanks in advance.

TOPICS
PDF Embed API

Views

5.9K

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 ,
Aug 02, 2023 Aug 02, 2023

Copy link to clipboard

Copied

I tried replicating this on our playground (https://documentservices.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf), with Edge, Incognito, 3rd party cookies disabled, and can't reproduce it. Can you try the playground too?

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
New Here ,
Aug 03, 2023 Aug 03, 2023

Copy link to clipboard

Copied

I am too facing this issue as I was playing with embed API. When I click thumbnails, it is throwing this error and not showing any thumbnails.

 

If you use use your playground to reproduce, it won't show becuase domain of plaground and the source of iframe used to embed the document are same

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 ,
Aug 04, 2023 Aug 04, 2023

Copy link to clipboard

Copied

I tried this CodePen, https://codepen.io/cfjedimaster/pen/xxgYoXY?editors=1111, in an Incognito browser and saw no issues. Is it _only_ if you try to add an annotation?

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
Community Beginner ,
Aug 06, 2023 Aug 06, 2023

Copy link to clipboard

Copied

This error will comes after loading adobe embed pdf Api successfully once and then if we try to open expand panel of comments secition(annotations) or if we try to add any annotations or simply if we try to click any thing on that section we are getting this error. 

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 ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

@LakshmiPrasan271162336j9x I can now confirm that if you use FULL_WINDOW, Incognito, _and_ block 3rd party cookies, I get an error. I don't see DOM Excetion errors, the error seems to have no labels, but it definitely messes up.

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 ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

Ok, even without Incognito mode, if 3rd party cookies are blocked, it throws the error. 

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
Community Beginner ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

@Raymond Camden  On that screen, we are not able to see any lables but if we try to navigate to any other view or click on back then we could able to see the lable for that error. first view is as below and later if we navigate we can see labels other screenshots

 

LakshmiPrasan271162336j9x_0-1691470652645.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
New Here ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

Change embed mode to 'FULL_WINDOW' and checked this in Chrome(Version 115.0.5790.110 (Official Build) (64-bit)). Gettiig this

Afzal31474346qmde_0-1691400342386.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
New Here ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

I getting this error when I try to click to open thumbnails

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
Community Beginner ,
Aug 03, 2023 Aug 03, 2023

Copy link to clipboard

Copied

above Url I can also able access from my incognitive tab but from my angular application getting the error.comparisionpic.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 ,
Aug 04, 2023 Aug 04, 2023

Copy link to clipboard

Copied

Ok, again though, if you can find a way for me to reproduce this, I can verify it and report it. 

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
New Here ,
Aug 06, 2023 Aug 06, 2023

Copy link to clipboard

Copied

Hi Raymond, I've started a new vue3 project based on your blog post. It opens a pdf for 2 seconds, then the component disappears, throwing the same exception, 401 for a jwt, and logs saying it's dismounting the component. It seems to me that the domain limit on the API key actually checks it even for localhost. Why?

 

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 ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

@Marko5E8A Yes, we check localhost. I agree we shouldn't, but we do. You either need a key for localhost and one for production, _or_ make a key for foo.com, and locally use dev.foo.com with a HOSTS file.

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 ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

I'm a bit concerned that my error _looks_ different than yours, but the process seems to be the same. I've reported it internally.

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
Community Beginner ,
Aug 20, 2023 Aug 20, 2023

Copy link to clipboard

Copied

Hi @Raymond Camden , Any inputs from the team? Like.. we can handle that error

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 ,
Aug 21, 2023 Aug 21, 2023

Copy link to clipboard

Copied

It's been reproduced by engineering. That's the best I got now, sorry.

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
New Here ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

i think i have the same problem. Only with edge because this option is enable  

 

any tip to make this api work with this option enable?

 

Capture d’écran, le 2023-09-25 à 15.15.58.png

 

Capture d’écran, le 2023-09-25 à 15.17.36.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 ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

Sorry, I'm not aware of a workaround. 

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
Community Beginner ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

@Raymond Camden i foudn out that the any block trackers like the one from edge pr an ad blocker is the problem. 
if you disable this everything goes as normal 

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
Community Beginner ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

@Raymond Camden I have the same problem. Only on edge browser, chrome browser it's fine.

 

Jayachandran30329856dq0m_0-1695724723537.png

Jayachandran30329856dq0m_1-1695724756805.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
Community Beginner ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

Why Edge browser blocking Adobe domain and the PDF document showing blank. It happened suddenly past 2 days. It is loading good in basic mode. It is not loading in Balanced and strict mode. Is that adobe site vulnerable in Balanced and strict mode?

MalarMannan_0-1695739415711.png

 

 

MalarMannan_1-1695739769059.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
New Here ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

this is a huge problem. they need a fix! 

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 ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

I hear ya. I raised the ticket a few weeks ago. I'll ping the PM just to help raise the issue more.

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
Community Beginner ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

@Raymond Camden  Can we get ETA to resolve this Bug?

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