# Logs showing failed write operation even after having removed the script

**URL:** <https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282>\
**Category:** Ignition\
**Tags:** ignition81, vision, scripting\
**Created:** [July 16, 2024, 12:43pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282 "2024-07-16T12:43:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnkThis](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@AnkThis](https://forum.inductiveautomation.com/u/AnkThis)\
**Post date:** [July 16, 2024, 12:43pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/1 "2024-07-16T12:43:55Z")

</div>

Hello, I'm still learning ignition. I had created a few scripts and one of them wrote to a tag. It was working correctly till now but out of a sudden it started flooding the logs with this warning. I've already removed the script but the logs still keep coming.

I'm also having a memory leak and I'm wondering if this is causing that.

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

How do I stop that?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 16, 2024, 1:52pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/2 "2024-07-16T13:52:04Z")

</div>

Have you restarted your gateway? Did you do anything with scripting to create an asynchronous thread, or recursive function, or anything like that?

---

<div class="post-metadata">

**Author:** ![AnkThis](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@AnkThis](https://forum.inductiveautomation.com/u/AnkThis)\
**Post date:** [July 16, 2024, 1:55pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/3 "2024-07-16T13:55:47Z")

</div>

Yes I ran the batch files to to stop and restart gateway, didn't work.

The script it is talking about was system.tag.write(tagAddress). I disabled that script. other than that there is no script using this tag.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 16, 2024, 1:58pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/4 "2024-07-16T13:58:27Z")

</div>

Was this script in a Vision client? If so, any possibility that there is a running client that hasn't updated?

---

<div class="post-metadata">

**Author:** ![AnkThis](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@AnkThis](https://forum.inductiveautomation.com/u/AnkThis)\
**Post date:** [July 16, 2024, 2:06pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/5 "2024-07-16T14:06:41Z")

</div>

I know it is not a best practice but it was a tag change event. I was using vision to design the project, but there are no un-updated clients as far as I know. I recently started to use perspective. Idk if this answers your question.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 16, 2024, 3:15pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/6 "2024-07-16T15:15:14Z")

</div>

> [@AnkThis](#):
>
> not a best practice

Not necessarily; tag change scripts definitely have appropriate uses.

What kind of tag? Sometimes it's easier to copy, paste, and rename tags than it is to recreate them from scratch. Any chance the tag got copied? This action would duplicate the script.

---

<div class="post-metadata">

**Author:** ![AnkThis](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@AnkThis](https://forum.inductiveautomation.com/u/AnkThis)\
**Post date:** [July 16, 2024, 3:49pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/7 "2024-07-16T15:49:50Z")

</div>

No. I've checked every tag individually. Is there any way to just kill everything?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 16, 2024, 4:04pm UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/8 "2024-07-16T16:04:16Z")

</div>

This is not a behavior I've seen before.

At this point, I'd probably delete the tag, perform a `gwcmd -r`, and then if needed, recreate the tag from scratch.

If that doesn't fix it, [contact support](https://support.inductiveautomation.com/hc/en-us)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 17, 2024, 9:16am UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/10 "2024-07-17T09:16:25Z")

</div>

Did you find a solution to this?

---

<div class="post-metadata">

**Author:** ![AnkThis](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@AnkThis](https://forum.inductiveautomation.com/u/AnkThis)\
**Post date:** [July 17, 2024, 11:18am UTC](https://forum.inductiveautomation.com/t/logs-showing-failed-write-operation-even-after-having-removed-the-script/93282/11 "2024-07-17T11:18:32Z")

</div>

I'm pretty sure this worked. The log stopped coming. Thanks Justin!
