Novu workflow is sending a payload but headless never gets the data...
Why the data is undefined? we are fetching through the latest headless with @novu/js
using
novuClient.notifications.list
5 Replies
any clues @Support @Pawan Jain
i changed this that couldnt be find in the docs... before i was sending only the body payload.message and it was read right by the client @novu/headless
@iStun4Fun
This is expected behavior. payload key-value pairs are not sent as Notification item response. in-app step data field can have any key-value pairs
@Pawan Jain I’m having something similar happen. My API (C#) sends an event, Novu processes this but no payload data is returned when I use Headless notifications.list. Not even an event type. I assume this is expected behaviour from Novu?
If so my only alternative will be to use server side rendered notifications instead
Workflows are created manually in Novu too
I've just seen this:
So that answers my qwuestion
Thanks for the update @rexchoppers
Can I help with anything else?
Are you using
@novu/headless
or @novu/js
All good @Pawan Jain keep up the great work.
I’m using Novu headless for my front end application (This is in angular)