# Error while subscribing to OPC UA client on same time frame as the tags

**URL:** <https://discourse.nodered.org/t/error-while-subscribing-to-opc-ua-client-on-same-time-frame-as-the-tags/65351>\
**Category:** General\
**Created:** [20 July 2022 07:04 UTC](https://discourse.nodered.org/t/error-while-subscribing-to-opc-ua-client-on-same-time-frame-as-the-tags/65351 "2022-07-20T07:04:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vraghu1983](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vraghu1983/32/22815_2.png) [@vraghu1983](https://discourse.nodered.org/u/vraghu1983)\
**Post date:** [20 July 2022 07:04 UTC](https://discourse.nodered.org/t/error-while-subscribing-to-opc-ua-client-on-same-time-frame-as-the-tags/65351/1 "2022-07-20T07:04:33Z")

</div>

Hi All - I receive a strange error while using OPC UA connection to read some tags of a machine for real time streaming from node-red to power bi  
All I want to do is to showcase some 20 tags of a machine and display the values in a power bi graph.  
I use the inject node - and set the interval to a minute as below :-

 ![MicrosoftTeams-image (7)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/5/654bb1636e9beb3cee672bc7056a0b1dfc0d2d98.png)

Then I configure the Kepware client and set the subscribe to 20 seconds ( anything \<=20 seconds).  
This works and information is logged, however in DB it is logged for 20 seconds and not every minute.

 ![MicrosoftTeams-image (8)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/e/5ef29a9551d8142584d8a00fa1d001f18946367c.png)

Now, if i change the interval to anything greater than 20 seconds on kepware, I recieve this error.

**Error: [NODE-OPCUA-W09] The subscription parameters are not compatible with the session timeout**

I am not sure of how to resolve this topic and hence posted it out here. I want the parameter to be pulled every minute and logged, so I can push the same to a streaming set which Power BI can consume.

Thanks in advance for the help

---

<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:** [18 September 2022 07:05 UTC](https://discourse.nodered.org/t/error-while-subscribing-to-opc-ua-client-on-same-time-frame-as-the-tags/65351/2 "2022-09-18T07:05:17Z")

</div>

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