# Error message occurs when using LocalStorage blocks

**URL:** <https://community.thunkable.com/t/error-message-occurs-when-using-localstorage-blocks/2793158>\
**Category:** Issues / Bugs\
**Created:** [January 20, 2024, 10:44am UTC](https://community.thunkable.com/t/error-message-occurs-when-using-localstorage-blocks/2793158 "2024-01-20T10:44:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maurizio.polverini89](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maurizio.polverini89/32/145191_2.png) [@maurizio.polverini89](https://community.thunkable.com/u/maurizio.polverini89)\
**Post date:** [January 20, 2024, 10:44am UTC](https://community.thunkable.com/t/error-message-occurs-when-using-localstorage-blocks/2793158/1 "2024-01-20T10:44:02Z")

</div>

Hello,

When i try to duplicate or add new Local Storage blocks in snap to place, this error occurs:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/8/78940d16cc7c1918823b2b2eadafd99d02be2550.png)

It happens 50/60% of the times usually when i click on “duplicate” on a Local Storage block or when I try to add a new one

Hope it helps, thank you

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [January 26, 2024, 8:18pm UTC](https://community.thunkable.com/t/error-message-occurs-when-using-localstorage-blocks/2793158/2 "2024-01-26T20:18:49Z")

</div>

Hello @maurizio.polverini89  
I tested the block but I can’t replicate the issue.  
We recommend that you use [stored variables](https://docs.thunkable.com/blocks/blocks/variables-overview#stored-variables) instead of Local storage blocks
