[SOLVED] Javascript Transformation Error with MQTT

It’s work around but not a great one because you end up with a String item.
I have tested your JS transform and it works for me.

Did you try clearing the cache:

Short of that, I don’t know why it doesn’t work in your case