# OPC UA server node giving "TypeError: Cannot read properties of undefined (reading 'indexOf')"

**URL:** https://discourse.nodered.org/t/opc-ua-server-node-giving-typeerror-cannot-read-properties-of-undefined-reading-indexof/71547
**Category:** Industrial
**Created:** [1 December 2022 11:49 UTC](https://discourse.nodered.org/t/opc-ua-server-node-giving-typeerror-cannot-read-properties-of-undefined-reading-indexof/71547 "2022-12-01T11:49:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dinesh](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@dinesh](https://discourse.nodered.org/u/dinesh)
#### Post date: [1 December 2022 11:49 UTC](https://discourse.nodered.org/t/opc-ua-server-node-giving-typeerror-cannot-read-properties-of-undefined-reading-indexof/71547/1 "2022-12-01T11:49:21Z")

</div>

Hi,

I am using node-red-contrib-opcua( 0.2.292) latest version. The OPC UA server is actually working fine but keep giving "TypeError: Cannot read properties of undefined (reading 'indexOf')" when a variable is getting updated

I have actually running the same nodes in earlier(0.2.261) and it didn't give this error.  
I have include my flow here  
[flows (47).json](https://discourse.nodered.org/uploads/short-url/28qFNCyoFo2faUw4P9UYcZIwNnt.json) (4.4 KB)

thank you

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [30 January 2023 11:49 UTC](https://discourse.nodered.org/t/opc-ua-server-node-giving-typeerror-cannot-read-properties-of-undefined-reading-indexof/71547/2 "2023-01-30T11:49:43Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
