# Node Red Tag Write Not Working

**URL:** <https://forum.inductiveautomation.com/t/node-red-tag-write-not-working/63153>\
**Category:** Maker\
**Created:** [August 18, 2022, 12:31pm UTC](https://forum.inductiveautomation.com/t/node-red-tag-write-not-working/63153 "2022-08-18T12:31:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Garcher](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@Robert\_Garcher](https://forum.inductiveautomation.com/u/Robert_Garcher)\
**Post date:** [August 18, 2022, 12:31pm UTC](https://forum.inductiveautomation.com/t/node-red-tag-write-not-working/63153/1 "2022-08-18T12:31:43Z")

</div>

Question. I can’t figure out how to write the value into the Ignition tag. Reads work fine. As soon as I write it the value, whatever number I have stored in my tag goes to zero. Any ideas.

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

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [August 18, 2022, 1:26pm UTC](https://forum.inductiveautomation.com/t/node-red-tag-write-not-working/63153/2 "2022-08-18T13:26:11Z")

</div>

Looks like there are still some undeployed nodes in the screenshot (though perhaps that was just you moving them into place for a screenshot). I’d hang a debug node off of your `move msg.payload.object.newValue` node (and turn the other one off for the moment).

Ultimately you should just need `tagPath` and `tagValue` in your `msg.payload`, e.g.:

 ![2022-08-18 at 8.25 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab015c7ab0ba9c808e296c84868c3512f2946987.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Garcher](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@Robert\_Garcher](https://forum.inductiveautomation.com/u/Robert_Garcher)\
**Post date:** [August 18, 2022, 1:41pm UTC](https://forum.inductiveautomation.com/t/node-red-tag-write-not-working/63153/3 "2022-08-18T13:41:03Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c2ebcf1d9d689bb5e85693471389ded5dcdc4f96.png)  
This is what I have but the value always goes to 0 in Ignition (instead of 35).

---

<div class="post-metadata">

**Author:** ![Robert\_Garcher](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@Robert\_Garcher](https://forum.inductiveautomation.com/u/Robert_Garcher)\
**Post date:** [August 18, 2022, 2:06pm UTC](https://forum.inductiveautomation.com/t/node-red-tag-write-not-working/63153/4 "2022-08-18T14:06:30Z")

</div>

I got it working. In the move statement, I didn’t have .tagValue. Thanks.
