Empty objectJSON from mosquitto_sub

Hi all, I am trying to get my uplink data using

mosquitto_sub -t “application/1/device/+/event/up” -v

I can get some data from this command and also from the application web interface, it shows that there are uplink data arriving. However, I could not see my sensor data payload anywhere. Here is the data that is showing for mosquitto_sub

{“applicationID”:“1”,“applicationName”:“mytanah-application”,“deviceName”:“test-device-1”,“devEUI”:“1dgCGIX/izM=”,“rxInfo”:,“txInfo”:{“frequency”:924400000,“modulation”:“LORA”,“loRaModula
tionInfo”:{“bandwidth”:125,“spreadingFactor”:9,“codeRate”:“4/5”,“polarizationInversion”:false}},“adr”:true,“dr”:3,“fCnt”:22,“fPort”:1,“data”:“SGVsbG8sIHdvcmxk”,“objectJSON”:“”,“tags”:{},“confirmedUplink”:false,“devAddr”:“AH2ROw==”,“publ
ishedAt”:“2022-02-24T16:19:29.544765889Z”}

The objectJSON is empty. Does this mean that my end node did not send out my data? I am pretty sure it did though. I have also set the marshaler to json. Can someone point me in the right direction?

Thanks in advance

The decrypted payload is in the ‘data’ field, which is populated. You can base64 decode it for the bytes.

objectJSON will be populated if you have a JavaScript decoder set up and if it runs successfully. You haven’t mentioned if that is the case.

Thanks for the info. I have not setup a javascript decoder. Is it normal to have some uplink packets with null ‘data’ field in between packets with ‘data’ field populated?

Yes, I’ve seen that, but it depends on the device/firmware.