N
Novu4mo ago
a

The actor field does not take effect in the Trigger API

I used the /v1/events/trigger endpoint and set the actor field, but it appears in the /v1/inbox/notifications endpoint instead.
No description
No description
8 Replies
Pawan Jain
Pawan Jain4mo ago
@a Please mention if it is related to Novu Cloud or self hosted version? As issue is not reproducible on novu cloud
a
aOP4mo ago
@Pawan Jain Is this a bug, or is it not supported in the self-hosted version?
Pawan Jain
Pawan Jain4mo ago
Could you please share if avatar field is working or not?
a
aOP4mo ago
@Pawan Jain This avatar field is working well, self-hosted version is 2.1.0
No description
Pawan Jain
Pawan Jain4mo ago
@a so whats the issue?
a
aOP4mo ago
@Pawan Jain The actor field in my data contains an avatar field, but based on the final sent message, the avatar field in the actor field is not successfully replaced with the avatar field defined in the workflow.
No description
No description
No description
Pawan Jain
Pawan Jain4mo ago
@a Now, I see the issue. We don't support updating the actor avatar field inline with trigger
a
aOP4mo ago
@Pawan Jain However, even if I remove the avatar field from the actor, the avatar field in the inapp message is still not replaced by the avatar of subscriberId=8 or earlier.

Did you find this page helpful?