# Update either dataset or array

**URL:** <https://forum.inductiveautomation.com/t/update-either-dataset-or-array/91226>\
**Category:** Ignition\
**Created:** [May 31, 2024, 9:27pm UTC](https://forum.inductiveautomation.com/t/update-either-dataset-or-array/91226 "2024-05-31T21:27:31Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 3, 2024, 2:53pm UTC](https://forum.inductiveautomation.com/t/update-either-dataset-or-array/91226/12 "2024-06-03T14:53:27Z")

</div>

> [@michael.black](#):
>
> empty dataset already create

No.

> [@michael.black](#):
>
> How can I troubleshoot

First, check the tag diagnostics. (Upper right in the tag editor.)

If not indicated there, wrap the whole expression in debugMe() like so:

```python
debugMe('someKey',
nonTransient(
	recorder(
		1000, // Pace
		60, // # of rows
		'Weight',
		{[~]Process Trending/Delaq/PV_Silo1TotalWeight}
	)
)
)

```

And look at your logs.

(I generally _don't_ indent inside `debugMe()` since I expect to remove that after I find the problem.)

Also note this possible issue with recent versions of Ignition (not just for my toolkit):

> [@Custom Expression Function not recognized "Unknown Function"](https://forum.inductiveautomation.com/t/custom-expression-function-not-recognized-unknown-function/91206/4):
>
> Interesting. I had a report here in the forum about my Integration Toolkit functions not working for expression tags but everywhere else. That reporter fixed it by restarting their gateway and I never reproduced it. Bug in the tag provider hierarchy, perhaps?

---

_[View the full topic](https://forum.inductiveautomation.com/t/update-either-dataset-or-array/91226)._
