Decoder output name

When decoding a payload, I always receive the JSON as ‘object’ via MQTT. Changing ‘data’ to something else returns an error which is why I expected the object to be called ‘data’ not ‘object’. Is this editable?

function decodeUplink(input) {
        return { 
            data: Decode(input.bytes)

function Decode(bytes) {

This can not be changed. The coded must return an object with data key. In the uplink integration event, the decoded payload is always called object.

Understood, thank you for the confirmation and the great software.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.