Skip to main content

Error: Failed to read the 'localStorage' property from 'Window": Access is denied for this document.

This error means the browser has blocked access to storage for this page. Storage restrictions can depend on factors such as:

  1. Whether the portal is embedded.

  2. Whether you are using incognito mode.

  3. Your browser's privacy and storage settings.

Private or incognito mode does not always disable localStorage. Storage can be available during the private session and cleared when that session ends. Access may still be restricted by browser privacy settings, particularly for embedded third-party content.

Understanding Local Storage Limitations in Private or Incognito Mode

If your browser blocks storage for the portal, you may encounter an error message relating to 'localStorage'. The checks below can help identify whether the embedding context or browser settings are involved.

What's Going On?

Web browsers have a feature called 'localStorage', which is a convenient way for websites to store small pieces of data in your browser for quick access. It enhances your user experience by allowing the software to remember certain settings or actions.

Private browsing typically limits how long this data is retained rather than always disabling storage. Browser policies may separately prevent a page from accessing storage.

When storage access is blocked, features that rely on it may not function as expected.

How to Navigate This Issue

Try opening the portal directly in a new tab instead of the embedded page, and compare a regular browser window with the private window. These are diagnostic checks, not guaranteed fixes. If the error continues, contact support with your browser and version, whether the portal is embedded, and the results of these checks.

Did this answer your question?