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

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

Community Beginner ,
Aug 02, 2023 Aug 02, 2023

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
10.9K
Translate
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

I cannot provide that at this time.

Translate
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 27, 2023 Sep 27, 2023

I think a lot of us are facing this same issue. Any update on the timeline would be appreciated.

 

Translate
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 27, 2023 Sep 27, 2023

I understand- like I said, I nagged the folks in charge. Best I can do right now. 

Translate
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 27, 2023 Sep 27, 2023

Hi Raymond, Can you confirm that the problem only occurs with Edge?

Translate
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 27, 2023 Sep 27, 2023

I *believe* I only found it there.

Translate
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 28, 2023 Sep 28, 2023

Hi Raymond , it occurs also with chrome in incognito mode

Translate
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 28, 2023 Sep 28, 2023

I checked the bug report and it has that mentioned.

Translate
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 28, 2023 Sep 28, 2023

For Edge this settings resolve the issue, sorry for the italian screenshot, you to have select the first option instead of the second option, not ideal but it's working, we have not a lot of users on edge

 

Cornelia27206676y9hi_0-1695914065558.png

 

Translate
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 27, 2023 Sep 27, 2023

We are also facing this blocking issue in our customer-facing product. Would appreciate either a fix or some kind of workaround. Is it possible to provide access to an earlier version of PDF Embed API that used to work?

Translate
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 27, 2023 Sep 27, 2023

We do not offer this, sorry.

Translate
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 27, 2023 Sep 27, 2023

Hi,

We also had this error in our Blazor WASM application.

It got reported to me by a user yesterday, and I verified that it was in fact happening./

Looking today, the error is no longer appearing. 

Has a fix been made?

Translate
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 29, 2023 Sep 29, 2023

We had reports of this issue yesterday from external users.

 

This morning, the error was still present.  However, a simple hard refresh in edge and the error went away.

 

Also, the previous code generator from the viewer demo produced:

https://documentcloud.adobe.com/view-sdk/main.js

 

However, the current view demo produces:

https://documentservices.adobe.com/view-sdk/viewer.js

 

I notice both URLs in above comments about this issue.  When did this change?

 

The only differences appear to be the following:

image.png

Translate
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 29, 2023 Sep 29, 2023

We are also seeing the same issue with Edge Version 117.0.2045.43 (Official build) (64-bit), where Adobe is blocked under privacy with the error message, "Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document."

Translate
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 ,
Oct 03, 2023 Oct 03, 2023

Hi all,

I had this issue and in my testing it was solved by switching from:

https://documentservices.adobe.com/view-sdk/viewer.js

to 

 
Looke like the old source isn't trusted by Edge.
 
 

 

Translate
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 ,
Oct 10, 2023 Oct 10, 2023

This resolved the issue on our system, but it would be nice to get an official fix from Adobe. 

Translate
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 ,
Oct 16, 2023 Oct 16, 2023

This seems to have fixed the issue on Edge, but not in Chrome Incognito mode.

Translate
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 ,
Oct 19, 2023 Oct 19, 2023
LATEST

Using the above solution seems to solve all the problems, for Edge and also for Chrome in incognito mode

Translate
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 ,
Oct 09, 2023 Oct 09, 2023

Hi there,

 

Just jumping on to say that we are also experiencing this DOMException with our customer-facing product on Chrome and Edge, and would really appreciate a fix. At the moment we will simply need to provide some customer service to explain how to enable third-party cookies. Definitely not ideal. What's strange is that I'm not even able to catch this error from the Promise - I assume the error is thrown somewhere else that isn't allowing me to catch it. I've tried everything I can think of, but if anyone has any ideas on how to catch this error so I can at least deliver a message on the page to the user, that would be great.

 

Has there been any progress on fixing this bug?

 

Thank you

Translate
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 ,
Oct 09, 2023 Oct 09, 2023

When I have news, I'll share via a new post to the forum. 

Translate
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 ,
Oct 10, 2023 Oct 10, 2023

Can you provide a link to the new post with a solution please?

Translate
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 ,
Oct 10, 2023 Oct 10, 2023

To repeat, when I have news, I'll share via a new post. 

Translate
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