# Gateway Event message handler missing payload data

**URL:** <https://forum.inductiveautomation.com/t/gateway-event-message-handler-missing-payload-data/47922>\
**Category:** Ignition\
**Created:** [June 17, 2021, 10:05pm UTC](https://forum.inductiveautomation.com/t/gateway-event-message-handler-missing-payload-data/47922 "2021-06-17T22:05:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alan.s.kinnaman](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@alan.s.kinnaman](https://forum.inductiveautomation.com/u/alan.s.kinnaman)\
**Post date:** [June 17, 2021, 10:05pm UTC](https://forum.inductiveautomation.com/t/gateway-event-message-handler-missing-payload-data/47922/1 "2021-06-17T22:05:31Z")

</div>

I’m using `system.util.sendMessage` to send a message across the gateway network from one gateway to another. The message is successfully recieved in a Gateway Event message handler. However, the payload in the message handler only includes the key `sendServerId` where the value is the name of the server that sent the message. I’d expect the payload in the message handler to include the keys and values of the payload specified when calling `system.util.sendMessage`.

Both gateways are running version 8.1.1.

Is the `payload` parameter of `system.util.sendMessage` not supported when sending a message from one gateway to another?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 17, 2021, 10:15pm UTC](https://forum.inductiveautomation.com/t/gateway-event-message-handler-missing-payload-data/47922/2 "2021-06-17T22:15:42Z")

</div>

Have you tried putting simple numbers and strings in the payload to see if they come through? (Payload items have to be serializable–not everything in Ignition meets that requirement.)

---

<div class="post-metadata">

**Author:** ![alan.s.kinnaman](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@alan.s.kinnaman](https://forum.inductiveautomation.com/u/alan.s.kinnaman)\
**Post date:** [June 17, 2021, 10:22pm UTC](https://forum.inductiveautomation.com/t/gateway-event-message-handler-missing-payload-data/47922/3 "2021-06-17T22:22:42Z")

</div>

Thanks for the quick reply. It turns out I had a typo when using `payload` as a keyword argument to `system.util.sendMessage`. Everything is working correctly after fixing the misspelling.

🤦‍♂️
