# Issue while license activation. JSON primitive error followed by invalid namespace error

**URL:** <https://forum.sambapos.com/t/issue-while-license-activation-json-primitive-error-followed-by-invalid-namespace-error/32059>\
**Category:** V5 Issue\
**Created:** [June 8, 2026, 7:05pm UTC](https://forum.sambapos.com/t/issue-while-license-activation-json-primitive-error-followed-by-invalid-namespace-error/32059 "2026-06-08T19:05:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndhuka](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/bb73d2/32.png) [@ndhuka](https://forum.sambapos.com/u/ndhuka)\
**Post date:** [June 8, 2026, 7:05pm UTC](https://forum.sambapos.com/t/issue-while-license-activation-json-primitive-error-followed-by-invalid-namespace-error/32059/1 "2026-06-08T19:05:48Z")

</div>

My Sambapos was running just fine on the last working day, and the next day the license got logged out automatically, and when I tried to log in again, I got a “ **JSON Primitive** ” error followed by an “ **Invalid Namespace** ” error, and then the application crashed.

just to add my cp account is working and is showing my license active and valid

Any solutions?

---

<div class="post-metadata">

**Author:** ![VehbiEmiroglu](https://forum.sambapos.com/user_avatar/forum.sambapos.com/vehbiemiroglu/32/64590_2.png) [@VehbiEmiroglu](https://forum.sambapos.com/u/VehbiEmiroglu)\
**Post date:** [June 9, 2026, 8:50am UTC](https://forum.sambapos.com/t/issue-while-license-activation-json-primitive-error-followed-by-invalid-namespace-error/32059/3 "2026-06-09T08:50:57Z")

</div>

You can solve this problem with updating SambaPOS to latest version.

---

<div class="post-metadata">

**Author:** ![ndhuka](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/bb73d2/32.png) [@ndhuka](https://forum.sambapos.com/u/ndhuka)\
**Post date:** [June 9, 2026, 10:33am UTC](https://forum.sambapos.com/t/issue-while-license-activation-json-primitive-error-followed-by-invalid-namespace-error/32059/4 "2026-06-09T10:33:11Z")

</div>

Can you guide me the process to update to latest version?

Should I just download latest version from the site and run installer?

---

<div class="post-metadata">

**Author:** ![Stanko](https://forum.sambapos.com/user_avatar/forum.sambapos.com/stanko/32/51586_2.png) [@Stanko](https://forum.sambapos.com/u/Stanko)\
**Post date:** [June 9, 2026, 10:40am UTC](https://forum.sambapos.com/t/issue-while-license-activation-json-primitive-error-followed-by-invalid-namespace-error/32059/5 "2026-06-09T10:40:13Z")

</div>

Correct. Take care the first start after the install may take a long time depending on your database size. Please take a backup before installing.
