# Ignition maker node red JSON error

**URL:** <https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645>\
**Category:** Maker\
**Created:** [July 13, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645 "2020-07-13T15:52:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![joev](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@joev](https://forum.inductiveautomation.com/u/joev)\
**Post date:** [July 13, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/1 "2020-07-13T15:52:31Z")

</div>

When I execute inject command node red I am gettting a JSON error  
Here is video explaining it.

[![](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/35b31f981156e5c84be5ae7dd08a6ac88bc97e84.jpeg "Ignition maker edition node red issue") ](https://www.youtube.com/watch?v=rSBT2EKk7fo)

---

<div class="post-metadata">

**Author:** ![Jmoller](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jmoller](https://forum.inductiveautomation.com/u/Jmoller)\
**Post date:** [July 14, 2020, 12:47am UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/2 "2020-07-14T00:47:02Z")

</div>

> [@Ignition 8 Node-Red](http://forum.inductiveautomation.com/t/ignition-8-node-red/24259):
>
> Does anyone know how if there is a Node-Red module for ignition 8? I know there is one for 7.9 but it does not work in 8.0 Thanks

---

<div class="post-metadata">

**Author:** ![cegge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cegge/32/74942_2.png) [@cegge](https://forum.inductiveautomation.com/u/cegge)\
**Post date:** [July 14, 2020, 1:28am UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/3 "2020-07-14T01:28:43Z")

</div>

I was actually getting a similar or same error but I never raised an issue with it. If I can duplicate it tomorrow in the office I’ll post it

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [July 14, 2020, 9:34am UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/4 "2020-07-14T09:34:01Z")

</div>

try `default` as the tag provider

---

<div class="post-metadata">

**Author:** ![joev](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@joev](https://forum.inductiveautomation.com/u/joev)\
**Post date:** [July 16, 2020, 2:07pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/5 "2020-07-16T14:07:33Z")

</div>

Has anybody figured out how to get igniton to work with node-red yet?

If not does anybody have any suggestions on how to control the Gpio pins on rasberry Pi

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 16, 2020, 2:17pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/6 "2020-07-16T14:17:17Z")

</div>

You were given an answer on another thread:

> [@Maker and Rasbery pi & Jetson nano GPIO access](http://forum.inductiveautomation.com/t/maker-and-rasbery-pi-jetson-nano-gpio-access/36344/2):
>
> I recommend running the [pigpiod](https://github.com/joan2937/pigpio) daemon and connecting to its socket interface from a long-lived asynchronous thread. The client-side python module for that project looks jython-compatible, but you might want to optimize it. Python’s socket module is notoriously laggy in jython.

If it didn't work for you, an account of your attempt would be helpful to others. If you didn't even try, that's on you.

---

<div class="post-metadata">

**Author:** ![joev](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@joev](https://forum.inductiveautomation.com/u/joev)\
**Post date:** [July 16, 2020, 2:46pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/7 "2020-07-16T14:46:55Z")

</div>

Has anybody been able to get ` node-red-contrib-ignition-nodes` to work?  
People have been getting the Json error (shown in video)when it executes.  
I have used the git hub branch for maker but I still can get pass the Json error

---

<div class="post-metadata">

**Author:** ![tailfire](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tailfire](https://forum.inductiveautomation.com/u/tailfire)\
**Post date:** [April 18, 2022, 8:49pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/8 "2022-04-18T20:49:53Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1e723276d272f400a601da7771d896cb61577353.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/3/531bee66d66558cd3944ec3aba6fb6d902309ff2.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/f/cfd3e6f009647cc989c3509c2d419c52d14e251a.png)

When the tag value is ‘hard coded’ into the tag value field it writes to the server fine.  
When it is wired up to the msg.payload of the ethernet node it does not pass the value.  
Should the ethernet node be put through a change node or a function node?  
If so could someone show an example of this?  
I see the javascript example in the documentation that came with the flow…

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8b08b164c72415e197441f6fe884dfb8b6147cb9.png)  
Maybe yes, I should have created a different thread…Sorry guys… This was the closest and most relevant thread I could find.

---

<div class="post-metadata">

**Author:** ![tailfire](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tailfire](https://forum.inductiveautomation.com/u/tailfire)\
**Post date:** [April 19, 2022, 10:37am UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/9 "2022-04-19T10:37:11Z")

</div>

Thought I would update this in case anyone else looks for this.  
I found the answer in the Node Red forum.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/3/833f6d16a5560fcf3bca087f6ae019ee6efe7bb9.png)  
The payload needs to go through a change node.  
msg.payload needs ‘moved’ to msg.payload.tagValue

---

<div class="post-metadata">

**Author:** ![Teddy\_Tarekegne](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@Teddy\_Tarekegne](https://forum.inductiveautomation.com/u/Teddy_Tarekegne)\
**Post date:** [October 9, 2023, 8:09pm UTC](https://forum.inductiveautomation.com/t/ignition-maker-node-red-json-error/36645/10 "2023-10-09T20:09:21Z")

</div>

For anyone who may still be facing the JSON error issue without any luck, I may have found a solution. In the Gateway webpage, go to the "Web Server" configuration and disable the option for "Force Secure Redirect" in the HTTPS settings (you'll probably have a different HTTPS port but that shouldn't matter).

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/055f4bf005384f0e7d4960b7b85fddc0b3679c63.png)
