NRF Cloud Message Routing Service not sending payload in device data message

Hi,

I have set up a destination in the the NRF Cloud Message Routing Service

The destination has been verified and I can successfully send the test message from NRF Cloud and receive the message and payload at the destination. All good there.

However, when my devices send data to NRF Cloud, NRF Cloud forwards the message to the configured destination without a payload. I can seen the message being received at the destination by no JSON.

Example of received test message and device data (empty)

When I send a simulated nrf cloud payload - As shown in the Message Routing Service documentation - the destination accepts the message without error.

NRF Clouds also shows there have been 0 message failures

How can I check what data is being sent to the destination? 

Is there any reason why empty payloads are being sent?

Parents
  • Hi Clinto,

    Before we continue troubleshooting, please confirm from the message store if you can see the message and the content. Are they empty as well?

    API, for reference:

    https://api.nrfcloud.com/v1/#tag/Messages/operation/ListMessages

    Or check from the portal (Device management -> Devices).  Choose your device and then you can watch messages as they are delivered to nRF Cloud. Do you see the content there?

    Best regards,

    Markku Lehto

  • Thank you for the guidance.

    I have confirmed by both methods you described, that messages with data is being received by nrf cloud.

    Using the HTTP API I can see a long list of messages with data that have the correct data and also in the portal.

    It just never gets passed on the the Message Routing Service for some reason.

  • Hi Clinto,

    thank you for your patience. I will direct this to internal development team. One more thing to ask, could you give an example of message content that was not sent out via Message Routing Service? So you saw it in message store, but it was sent through Message Routing Service as an empty message. Also, related to this, are you seeing this consistently, so that none of your messages have content, or just some of the messages are empty?

    Best regards,

    Markku Lehto 

  • All message content is not being sent out via Message Routing Service except the test function that is available of the Message Routing Service setup page.

    Consistently all messages are empty.

    an example message from the message store than comes through empty:


    {
            "topic": "prod/xxxxxxxx-xxxx-4f2f-xxxx-5a299abxxxxx/m/d/xx-xxxxxxxxx541592/d2c",
            "deviceId": "xx-xxxxxxxxx541592",
            "receivedAt": "2025-05-09T04:49:20.964Z",
            "message": {
                "appId": "BATTERY",
                "messageType": "DATA",
                "ts": 1746766158744,
                "data": 100
            },
            "tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx98e1"
        },



Reply
  • All message content is not being sent out via Message Routing Service except the test function that is available of the Message Routing Service setup page.

    Consistently all messages are empty.

    an example message from the message store than comes through empty:


    {
            "topic": "prod/xxxxxxxx-xxxx-4f2f-xxxx-5a299abxxxxx/m/d/xx-xxxxxxxxx541592/d2c",
            "deviceId": "xx-xxxxxxxxx541592",
            "receivedAt": "2025-05-09T04:49:20.964Z",
            "message": {
                "appId": "BATTERY",
                "messageType": "DATA",
                "ts": 1746766158744,
                "data": 100
            },
            "tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx98e1"
        },



Children
No Data
Related