<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121258/nrf-cloud-message-routing-service-not-sending-payload-in-device-data-message</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 05 Jul 2025 01:16:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121258/nrf-cloud-message-routing-service-not-sending-payload-in-device-data-message" /><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/541517?ContentTypeID=1</link><pubDate>Sat, 05 Jul 2025 01:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf94d72a-7bc7-4db2-95f0-84fa341a8de2</guid><dc:creator>FlareHalo</dc:creator><description>&lt;p&gt;I had this problem also. After rerouting data to an alternative location, I realized that the payload is very large. The receiving endpoint was&amp;nbsp;truncating the&amp;nbsp;payload making it incomplete.&lt;br /&gt;&lt;br /&gt;My only workaround was to effectively proxy the payload via my own service before sending to the final endpoint.&lt;br /&gt;&lt;br /&gt;Maybe check if your service accepts very long payloads...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/535448?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 06:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8def5f3-0527-4cba-b95c-1a7e893d6071</guid><dc:creator>Juha-Pekka Kesonen</dc:creator><description>&lt;div class="ms-StackItem css-140"&gt;
&lt;div class="_answerText_8d9c8_12"&gt;
&lt;p&gt;Is it only some data that isn&amp;#39;t being routed, or is none of the data sent by the device routed correctly? What kind of server are you using for your destination? Does it support chunked Transfer-Encoding? Could you provide some more logs of received messages in the&amp;nbsp;destination.&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/535431?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 02:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1cee3fd-c885-4d60-98b0-d1337824e531</guid><dc:creator>Clinto</dc:creator><description>&lt;p&gt;There is not problem sending data between the device and nrfcloud using the multiservice sample.&lt;/p&gt;
&lt;p&gt;nrfcloud is confirmed to be receiving data from the device and storing the content in the message list (described above)&lt;/p&gt;
&lt;p&gt;test connections sent from nrfcloud Message Routing Service endpoint to the destination work fine - http message received and json payload ok&lt;/p&gt;
&lt;p&gt;The problem is when the device sends a new message to nrfcloud - the&amp;nbsp;&lt;span&gt;Message Routing Service attempts to forward the message to the destination but without the json payload/data (its empty).&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747273886906v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;None of the messages are failing as all messages are being sent between all endpoint. The problem is DATA messages are being sent between nrfcloud and the destination with no data.&lt;br /&gt;&lt;br /&gt;Does this help clarify the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/535339?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 13:09:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959b505f-1519-47cd-bc39-7baa42ae6522</guid><dc:creator>Juha-Pekka Kesonen</dc:creator><description>&lt;p&gt;Hi, I tried to reproduce the empty message with multi service sample but wasn&amp;#39;t able to, can you give any more information on the setup and can you see the message logged on the serial terminal when sending the failing message?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/535217?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 00:32:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91f2cba8-5d3e-492c-8fb0-9361ad9d4d0b</guid><dc:creator>Clinto</dc:creator><description>&lt;p&gt;any further developments of why the message service routing doesn&amp;#39;t work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534902?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 12:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c85f19b0-2f4e-410f-b6ed-fd90d6a55d1b</guid><dc:creator>Clinto</dc:creator><description>&lt;p&gt;All message content is not being sent out via Message Routing Service except the &lt;strong&gt;test&amp;nbsp;&lt;/strong&gt;function that is available of the&amp;nbsp;&lt;span&gt;Message Routing Service setup page.&lt;br /&gt;&lt;br /&gt;Consistently all messages are empty.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;an example message from the message store than comes through empty:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
        &amp;quot;topic&amp;quot;: &amp;quot;prod/xxxxxxxx-xxxx-4f2f-xxxx-5a299abxxxxx/m/d/xx-xxxxxxxxx541592/d2c&amp;quot;,
        &amp;quot;deviceId&amp;quot;: &amp;quot;xx-xxxxxxxxx541592&amp;quot;,
        &amp;quot;receivedAt&amp;quot;: &amp;quot;2025-05-09T04:49:20.964Z&amp;quot;,
        &amp;quot;message&amp;quot;: {
            &amp;quot;appId&amp;quot;: &amp;quot;BATTERY&amp;quot;,
            &amp;quot;messageType&amp;quot;: &amp;quot;DATA&amp;quot;,
            &amp;quot;ts&amp;quot;: 1746766158744,
            &amp;quot;data&amp;quot;: 100
        },
        &amp;quot;tenantId&amp;quot;: &amp;quot;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx98e1&amp;quot;
    },&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534815?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 08:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d21e3d4-a2f4-44d2-89f0-a6882666d655</guid><dc:creator>Markku Lehto</dc:creator><description>&lt;p&gt;Hi Clinto,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Markku Lehto&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534610?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 10:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdd6d1f6-2d29-4c64-a0b7-6f8cab16d03b</guid><dc:creator>Clinto</dc:creator><description>&lt;p&gt;Thank you for the guidance.&lt;/p&gt;
&lt;p&gt;I have confirmed by both methods you described, that messages with data is being received by nrf cloud.&lt;/p&gt;
&lt;p&gt;Using the HTTP API I can see a long list of&amp;nbsp;messages with data that have the correct data and also in the portal.&lt;/p&gt;
&lt;p&gt;It just never gets passed on the the Message Routing Service for some reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534577?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 08:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968b1291-9fab-4284-a233-19b7c4762294</guid><dc:creator>Markku Lehto</dc:creator><description>&lt;p&gt;Hi Clinto,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Before we continue troubleshooting, please confirm from the message store if you can see the message and the content. Are they empty as well?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;API, for reference:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://api.nrfcloud.com/v1/#tag/Messages/operation/ListMessages"&gt;https://api.nrfcloud.com/v1/#tag/Messages/operation/ListMessages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Or check from the portal (Device management -&amp;gt; Devices).&amp;nbsp; Choose your device and then you can watch messages as they are delivered to nRF Cloud. Do you see the content there?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Markku Lehto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534552?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 05:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f996f7b5-b620-4a16-9208-7e55ce3d9c5a</guid><dc:creator>Clinto</dc:creator><description>&lt;p&gt;Just wondering if you can provide any further information as to why device messages are not being forwarded by the Message Routing Service?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534365?ContentTypeID=1</link><pubDate>Thu, 08 May 2025 04:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205cade9-94a9-41e3-ab64-d2d143e5ee00</guid><dc:creator>Clinto</dc:creator><description>&lt;p&gt;Sure - The screenshot is the log of received http requests at the destination end. Effectively, these are the messages that have been sent by the nrf cloud message routing service.&lt;/p&gt;
&lt;p&gt;I am using the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.1/page/nrf/samples/cellular/nrf_cloud_multi_service/README.html#nrf-cloud-multi-service"&gt;Cellular: nRF Cloud multi-service&lt;/a&gt;&amp;nbsp;sample to send data from the device to the cloud. nrf cloud is communicating with the device perfectly.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am not sure what you mean by &amp;quot;type of the message batch (in payload fields)&amp;quot;. The data being sent from the device to NRF cloud is as follows:&lt;/p&gt;
&lt;p&gt;&amp;quot;Received&amp;quot;:{&lt;br /&gt;4 items&lt;br /&gt;appId:&amp;quot;HEARTBEAT&amp;quot;&lt;br /&gt;messageType:&amp;quot;DATA&amp;quot;&lt;br /&gt;ts:1746636363130&lt;br /&gt;data:1&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&amp;quot;Received&amp;quot;:{&lt;br /&gt;4 items&lt;br /&gt;appId:&amp;quot;BATTERY&amp;quot;&lt;br /&gt;messageType:&amp;quot;DATA&amp;quot;&lt;br /&gt;ts:1746636378131&lt;br /&gt;data:100&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I assume the Message Routing service should be sending a payload like the following example:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;type&amp;quot;: &amp;quot;device.messages&amp;quot;,
  &amp;quot;timestamp&amp;quot;: &amp;quot;2024-09-05T21:59:47.323Z&amp;quot;,
  &amp;quot;messages&amp;quot;: [
    {
      &amp;quot;teamId&amp;quot;: &amp;quot;26fc871f-1272-45ef-9db2-0145a6b0dfcd&amp;quot;,
      &amp;quot;deviceId&amp;quot;: &amp;quot;nrf-278345628733&amp;quot;,
      &amp;quot;messageId&amp;quot;: &amp;quot;9b66d97e-9747-4690-a464-073748736603&amp;quot;,
      &amp;quot;receivedAt&amp;quot;: &amp;quot;2024-09-05T21:59:44.714Z&amp;quot;,
      &amp;quot;topic&amp;quot;: &amp;quot;dev/26fc871f-1272-45ef-9db2-0145a6b0dfcd/m/d/nrf-278345628733/d2c&amp;quot;,
      &amp;quot;message&amp;quot;: {
        &amp;quot;appId&amp;quot;: &amp;quot;TEMP&amp;quot;,
        &amp;quot;messageType&amp;quot;: &amp;quot;DATA&amp;quot;,
        &amp;quot;data&amp;quot;: &amp;quot;14&amp;quot;
      }
    },
    {
      &amp;quot;teamId&amp;quot;: &amp;quot;26fc871f-1272-45ef-9db2-0145a6b0dfcd&amp;quot;,
      &amp;quot;deviceId&amp;quot;: &amp;quot;nrf-278345628733&amp;quot;,
      &amp;quot;messageId&amp;quot;: &amp;quot;23f5bbc1-2dd8-455e-962a-cad780d469f9&amp;quot;,
      &amp;quot;receivedAt&amp;quot;: &amp;quot;2024-09-05T21:59:45.306Z&amp;quot;,
      &amp;quot;topic&amp;quot;: &amp;quot;dev/26fc871f-1272-45ef-9db2-0145a6b0dfcd/m/d/nrf-278345628733/d2c&amp;quot;,
      &amp;quot;message&amp;quot;: {
        &amp;quot;appId&amp;quot;: &amp;quot;GPS&amp;quot;,
        &amp;quot;messageType&amp;quot;: &amp;quot;DATA&amp;quot;,
        &amp;quot;data&amp;quot;: &amp;quot;$GPGGA,195032.465,4531.255,N,12240.318,W,1,12,1.0,0.0,M,0.0,M,,*79&amp;quot;
      }
    }
  ]
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Cloud Message Routing Service not sending payload in device data message</title><link>https://devzone.nordicsemi.com/thread/534326?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 15:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce3935b-56e1-4316-81db-7c6f5016ca54</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you elaborate what exactly is shown in your screenshot? &lt;br /&gt;Where was the screenshot taken from?&lt;br /&gt;Which&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/APIs/MQTT/Topics.html#schemas"&gt;scheme&lt;/a&gt;&amp;nbsp;did you use?&lt;br /&gt;What is the type of the message batch (in &lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/MessagesAndAlerts/MessageRoutingService/MessageRoutingOverview.html#payload-fields"&gt;payload fields&lt;/a&gt;) that you used when empty payload was received at the destination?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>