TypeError: msg.payload.slice is not a function

Thanks Colin, found the node (I had never noticed it before) and implemented it