# ASAP! Error during context startup. Caused by: java.lang.IllegalStateException: Not a JSON Object

**URL:** <https://forum.inductiveautomation.com/t/asap-error-during-context-startup-caused-by-java-lang-illegalstateexception-not-a-json-object/110685>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [September 17, 2025, 6:58am UTC](https://forum.inductiveautomation.com/t/asap-error-during-context-startup-caused-by-java-lang-illegalstateexception-not-a-json-object/110685 "2025-09-17T06:58:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [September 18, 2025, 2:17pm UTC](https://forum.inductiveautomation.com/t/asap-error-during-context-startup-caused-by-java-lang-illegalstateexception-not-a-json-object/110685/3 "2025-09-18T14:17:14Z")

</div>

I don’t know what version you are currently running, but the issue with corrupted `authTokens` preventing startup was resolved in 8.1.37.

[https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2024/83608/8https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2024/83608/8](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2024/83608/8https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2024/83608/8)

> [@Exception faults gateway startup: java.lang.IllegalStateException: Not a JSON Object](https://forum.inductiveautomation.com/t/exception-faults-gateway-startup-java-lang-illegalstateexception-not-a-json-object/76760/6):
>
> This issue has been fixed - poorly formatted auth token files will no longer prevent Gateway startup. The fix will be available in 8.1.37 which currently has an RC1 version available for download.

---

_[View the full topic](https://forum.inductiveautomation.com/t/asap-error-during-context-startup-caused-by-java-lang-illegalstateexception-not-a-json-object/110685)._
