# CHANGE - msg payload not working?

**URL:** <https://discourse.nodered.org/t/change-msg-payload-not-working/78080>\
**Category:** General\
**Created:** [1 May 2023 20:38 UTC](https://discourse.nodered.org/t/change-msg-payload-not-working/78080 "2023-05-01T20:38:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidanvenn](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aidanvenn](https://discourse.nodered.org/u/aidanvenn)\
**Post date:** [1 May 2023 20:38 UTC](https://discourse.nodered.org/t/change-msg-payload-not-working/78080/1 "2023-05-01T20:38:49Z")

</div>

Hi,

As per attached images I cannot appear to get the CHANGE function to SET the msg.payload even though I have downloaded the demo examples from Meraki. It appears to just output the entire payload rather than just the serial number.

Any help? thank you

 ![CHANGE issue](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/4/7481b6420fd24fef6c90a326f5807b5e42232322.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [1 May 2023 21:06 UTC](https://discourse.nodered.org/t/change-msg-payload-not-working/78080/2 "2023-05-01T21:06:41Z")

</div>

you are setting msg.serial - so you need to configure the debug to show the complete message and not just the msg.payload.  
(Unless of course you actually want to set msg.payload.serial instead)

---

<div class="post-metadata">

**Author:** ![aidanvenn](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aidanvenn](https://discourse.nodered.org/u/aidanvenn)\
**Post date:** [1 May 2023 21:15 UTC](https://discourse.nodered.org/t/change-msg-payload-not-working/78080/3 "2023-05-01T21:15:48Z")

</div>

Thank you..... Penny dropped.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 May 2023 21:16 UTC](https://discourse.nodered.org/t/change-msg-payload-not-working/78080/4 "2023-05-15T21:16:23Z")

</div>

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