# Error writing to " 'TAG'.value: Bad "

**URL:** <https://forum.inductiveautomation.com/t/error-writing-to-tag-value-bad/82019>\
**Category:** Ignition\
**Created:** [November 16, 2023, 10:07pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-tag-value-bad/82019 "2023-11-16T22:07:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Hendricks](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Scott\_Hendricks](https://forum.inductiveautomation.com/u/Scott_Hendricks)\
**Post date:** [November 16, 2023, 10:07pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-tag-value-bad/82019/1 "2023-11-16T22:07:24Z")

</div>

I am working my way through a tags and Productivity 1000 PLC.

I can read string tags but I cannot write to them them. I get the error attached.

I am able to read and write to Integer Data Type tags.

Is this an ignition issue or PLC issue? Thanks!

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/6/e67ee8c9ea7126e33d578a7360fd7a83af79bd9b.png)

---

<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:** [November 16, 2023, 10:11pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-tag-value-bad/82019/2 "2023-11-16T22:11:04Z")

</div>

Pretty sure string lengths need to be even, as the underlying registers hold two characters apiece.

---

<div class="post-metadata">

**Author:** ![Scott\_Hendricks](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Scott\_Hendricks](https://forum.inductiveautomation.com/u/Scott_Hendricks)\
**Post date:** [November 17, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-tag-value-bad/82019/3 "2023-11-17T14:40:17Z")

</div>

Thank you for the push in the correct direction. I was addressing the Item Path incorrectly.

In case anybody else needs good examples see the link below to the Ignition Manuel

[https://docs.inductiveautomation.com/display/DOC80/Modbus+Addressing](https://docs.inductiveautomation.com/display/DOC80/Modbus+Addressing)
