# \[SOLVED\] A new error recently surfaced. Worked correctly initially

**URL:** <https://community.thunkable.com/t/solved-a-new-error-recently-surfaced-worked-correctly-initially/3175682>\
**Category:** Issues / Bugs\
**Created:** [September 4, 2024, 5:40am UTC](https://community.thunkable.com/t/solved-a-new-error-recently-surfaced-worked-correctly-initially/3175682 "2024-09-04T05:40:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhatreuduyu](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@mhatreuduyu](https://community.thunkable.com/u/mhatreuduyu)\
**Post date:** [September 4, 2024, 5:40am UTC](https://community.thunkable.com/t/solved-a-new-error-recently-surfaced-worked-correctly-initially/3175682/1 "2024-09-04T05:40:32Z")

</div>

my java script sends a message to thunkable using:  
window.parent.postMessage(JSON.stringify(messageContent), ‘\*’);

ON the thunkable-end I use webViewer-\>ReceiveMessage-\>getObjectFromJSON-\>message  
to receive the message and retrieve it correclty…Store it in app variable “encPass” and display it using messagebox. When another function in the same screen uses this app variable “encPass” it becomes unreachable and not accessible.

This worked correctly initially but now is not functioning.

---

<div class="post-metadata">

**Author:** ![mhatreuduyu](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@mhatreuduyu](https://community.thunkable.com/u/mhatreuduyu)\
**Post date:** [September 5, 2024, 6:26am UTC](https://community.thunkable.com/t/solved-a-new-error-recently-surfaced-worked-correctly-initially/3175682/2 "2024-09-05T06:26:13Z")

</div>

solved now using and implementing the property ‘save’ of the JSON message in thunkable.

---

<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:** [September 5, 2024, 5:16pm UTC](https://community.thunkable.com/t/solved-a-new-error-recently-surfaced-worked-correctly-initially/3175682/3 "2024-09-05T17:16:55Z")

</div>

Hello @mhatreuduyu  
Thank you for sharing your solution!

---

<div class="post-metadata">

**Author:** ![mhatreuduyu](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@mhatreuduyu](https://community.thunkable.com/u/mhatreuduyu)\
**Post date:** [December 29, 2024, 10:12am UTC](https://community.thunkable.com/t/solved-a-new-error-recently-surfaced-worked-correctly-initially/3175682/4 "2024-12-29T10:12:54Z")

</div>

All you guys have been a great support.  
Want to thank you all.
