Kapacitor and undefined/missing data

I am seeing a bunch of errors in a tick script because of missing values.

Is there a way to handle errors inside of a tick script? If How do I filter out null values from the stream?

Take a look at the default node. DefaultNode | InfluxData Documentation Archive

Or optionally simply quite the errors and the eval node will silently drop the points. EvalNode | InfluxData Documentation Archive