Channels Property Not Respected When Creating or Updating Subscriber (API Issue)
When creating a new subscriber: when I add the
channels
property, it does not seem to be respected, and no channels are created. The same issue occurs when using the update
endpoint. Am I doing something wrong? Here is the payload I used:
6 Replies
Hey @abdlrahmansaber. I assume you are adding a subscriber here, correct?
What's not working? No One Signal provider? Did you add an integration for One Signal?
@abdlrahmansaber.
There is a bit of discrepancy here. channels field is available in open api spec and but included while creating a new subscriber
Let me check with eng team for this
@Tomer Barnea, could you clarify what you mean by adding an integration for OneSignal? From what I understand, the source code should populate the
channels
property. However, when I call the endpoint and check the database or retrieve subscriber data using the GET endpoint, the channels
property is empty.
@Pawan Jain Thanks, FYI it's working for the bulk subscriber endpoint.@abdlrahmansaber. I'll let @Pawan Jain take it from here, I think he might be more qualified 😄
@abdlrahmansaber.
We have identified a bug in this flow, channels properties should be stored with new subscriber.
We will fix the issue. I see you are self hosting Novu. You will have to wait till new release
@Pawan Jain Great, thanks for letting me know. I'll try to contribute and figure out what's going on, should I open an issue on GitHub?