# Global context doesn't seem to be parsed correctly

**URL:** <https://discourse.nodered.org/t/global-context-doesnt-seem-to-be-parsed-correctly/76680>\
**Category:** General\
**Created:** [18 March 2023 01:13 UTC](https://discourse.nodered.org/t/global-context-doesnt-seem-to-be-parsed-correctly/76680 "2023-03-18T01:13:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [18 March 2023 01:13 UTC](https://discourse.nodered.org/t/global-context-doesnt-seem-to-be-parsed-correctly/76680/1 "2023-03-18T01:13:10Z")

</div>

(Today is not my day.)

I don't understand what is going on here.

Sorry again I fear pictures will say more than words. And with my luck today words are not my friends.

How can `20000` become `ACTIVE`?

 ![Screenshot from 2023-03-18 12-03-59](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/7/b74e43f8e222bad6a47c0b183cd3a34e12935f40.png)

 ![Screenshot from 2023-03-18 12-04-10](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca4fcf5b5079e5c982933abdd28a669e73519416.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [18 March 2023 01:31 UTC](https://discourse.nodered.org/t/global-context-doesnt-seem-to-be-parsed-correctly/76680/2 "2023-03-18T01:31:03Z")

</div>

Because somewhere else in your code you set it to that value ?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [18 March 2023 01:34 UTC](https://discourse.nodered.org/t/global-context-doesnt-seem-to-be-parsed-correctly/76680/3 "2023-03-18T01:34:00Z")

</div>

If only. 😉

I added more `node.warn` lines and it stated to behave itself.  
Now - of course - it is working.

SORRY!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 April 2023 01:34 UTC](https://discourse.nodered.org/t/global-context-doesnt-seem-to-be-parsed-correctly/76680/4 "2023-04-01T01:34:44Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
