# Error writing to reference tag. Tag Provider not found

**URL:** <https://forum.inductiveautomation.com/t/error-writing-to-reference-tag-tag-provider-not-found/84921>\
**Category:** Ignition\
**Created:** [January 29, 2024, 9:02pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-reference-tag-tag-provider-not-found/84921 "2024-01-29T21:02:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [January 29, 2024, 9:02pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-reference-tag-tag-provider-not-found/84921/1 "2024-01-29T21:02:12Z")

</div>

I have a reference tag that I am using to write a 1 or 0 to a plc boolean tag. When I tie this reference tag to another tag within the same tag provider it works. But when I try to tie it to a tag in a different tag provider it does not work and give me an error about tag provider not being found.

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

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

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/a/1a9a8b2b86797c1a7e6740dcf425c0f442c51a11.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 29, 2024, 9:54pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-reference-tag-tag-provider-not-found/84921/2 "2024-01-29T21:54:16Z")

</div>

Is the tag browser showing a successful read for `[RTP_SistemTek]Skim Car/Test/State`? If not then check the spelling, etc.

Meanwhile:

The script could be reduced to one line after the def:  
`system.tag.writeBlocking([<your_tag_path>], [currentValue.value])`  
Just pass out the bool that came in.

Note that `system.tag.writeBlocking` is expecting two **lists**. (See the square brackets in my line of code above.) For single values it works as you've written it for now, but it may break on future releases. See [system.tag.writeBlocking - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/system.tag.writeBlocking?src=sidebar).
