Was surprised to learn that events sent through a route don’t have all of the same fields as the Notehub events API (Event API - Notehub API Reference). Namely, we were doing some monitored that compared the difference between the when
and received
fields, but that broke when switched to using routes instead of fetching the events because the received field is missing.
Is there a way to add that field to the routed event with JSONata or something?
Hey @rdimartino,
Hmmmm, that’s weird. The received
field should be present on routed events, and I just created a quick test route and I saw the received
field come through ok.
Do you see the received
field on the event when you view its JSON tab in Notehub?
Thanks,
TJ VanToll
This is embarrassing. I had misspelled “received” in parameter sanitizer on my webhook. Thanks @tjvantoll , and sorry for wasting your time!
Ha, no worries. It happens to me all the time
Glad you got this working.