How can i fix this error ? SecurityError : Faild to read the localStorage property from window | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i fix this error ? SecurityError : Faild to read the localStorage property from window

i got this error when i tried to run my code in playground on my phone

23rd Aug 2022, 8:15 PM
fateme kamarei
fateme kamarei - avatar
2 Answers
+ 2
Here playground will not access your local storage. It have no permissions.
23rd Aug 2022, 8:32 PM
Jayakrishna 🇮🇳
+ 1
Try to search in google before posting a question here. There is a high chance that someone had the same issue as you and you are not the first one. Also there is a high chance that someone posted that solution online. Here is the answer for this kind of error: https://www.chromium.org/for-testers/bug-reporting-guidelines/uncaught-securityerror-failed-to-read-the-localstorage-property-from-window-access-is-denied-for-this-document/
23rd Aug 2022, 8:30 PM
Rei
Rei - avatar