# \[IGN-6631\] noInterpolation not working on system.tag.queryTagHistory through Gateway Network

**URL:** <https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 22, 2023, 9:08pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889 "2023-01-22T21:08:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [January 22, 2023, 9:08pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/1 "2023-01-22T21:08:35Z")

</div>

I have 2 gateways (local site pc and remote centralized server) and are connected to each other via the Gateway Network. I created a Remote Tag Provider and Remote History Provider on the central server. Both are query-only and the remote history provider is using the gateway network to query the results (not database).

The issue is that when you have missing data (or data marked as bad quality) and you run system.tag.queryTagHistory(....., **noInterpolation=True** ) on the local pc, the result is as expected. There is a jump in time and data. But the same query on the remote gateway returns all data in between at the indicated interval. **It is behaving as if queries passing through the gateway network have noInterpolation hardcoded to False or are not receiving this parameter**. Setting IgnoreBadQuality and validateSCExec to True or False had no effect in the result.

On Central server, this query returns all data between date ranges (incorrect behavior)  
`system.tag.queryTagHistory(paths=['[remotegateway/remoteprovider:default]Tags/sometag/val'],columnNames=['Datetime','val'],intervalSeconds=10,startDate=startDate,endDate=endDate,aggregationModes=['LastValue'],noInterpolation=True)`

On the Local PC, this query skips the time frames where no data exists (correct behavior)  
`system.tag.queryTagHistory(paths=['[default]Tags/sometag/val'],columnNames=['Datetime','val'],intervalSeconds=10,startDate=startDate,endDate=endDate,aggregationModes=['LastValue'],noInterpolation=True)`

Ignition Versions:  
local site pc is 8.1.18  
central server is 8.1.23

---

<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:** [January 23, 2023, 4:39pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/2 "2023-01-23T16:39:16Z")

</div>

Thanks for the report. This looks like a known issue, so I've added you to our existing internal ticket.

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [March 9, 2023, 8:19pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/3 "2023-03-09T20:19:18Z")

</div>

Bumping this to see if this is planned on being resolved soon.

---

<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:** [March 9, 2023, 9:15pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/4 "2023-03-09T21:15:35Z")

</div>

It's "Dev-Ready", but only green priority, so probably won't be picked up very soon.

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [November 2, 2023, 5:52pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/5 "2023-11-02T17:52:56Z")

</div>

Bumping one more time as we have another project that will rely on local and remote queries returning identical information.

---

<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:** [November 2, 2023, 5:55pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/6 "2023-11-02T17:55:45Z")

</div>

Worse news than before. It's been formally bumped off the "to be fixed in 8.1" pile, meaning the absolute earliest you'll see this fixed is in some 8.3.X release; so no _earlier_ than Q4 2024.

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [November 2, 2023, 5:59pm UTC](https://forum.inductiveautomation.com/t/ign-6631-nointerpolation-not-working-on-system-tag-querytaghistory-through-gateway-network/68889/7 "2023-11-02T17:59:14Z")

</div>

Ok, I'll update my Christmas wish list for this year then. Thanks for the quick response.
