#Notification Feed is not returning any push notification data for particular subscriber

1 messages · Page 1 of 1 (latest)

unkempt cobalt
#

Notification Feed is not returning any push notification data for particular subscriber

celest oar
#

Can you share some SS @unkempt cobalt ?

unkempt cobalt
#

I have received push notification in given subscriberId in mobile

celest oar
#

how are you triggering it?

unkempt cobalt
#

push notification or this curl command ?
push notification through
await this.novu.trigger(notificationTemplate, {
to: { subscriberId },
payload,
});

#

this is working

#

i am receiving push notifications in mobile

unkempt cobalt
#

@celest oar can u please check it once?

narrow pawnBOT
#

@unkempt cobalt, you just advanced to level 2!

tender sage
#

One sec, I'll send you an alternative @unkempt cobalt \

#
curl -X GET \
 -H "Authorization: ApiKey REPLACE_WITH_API_KEY" \
https://api.novu.co/v1/notifications?channels=push&search=643e9......```
#

Let us know if that works for you @unkempt cobalt 💪

unkempt cobalt
#

this curl command returns all the notifications . it is not returning the notification of a specific subscriber

tender sage
#

Did you add the search = <subscriberId >

unkempt cobalt
#

yes

tender sage
#

Do they all have the same email?

unkempt cobalt
#

no

tender sage
#

For me its returning just those relevant🤔

#

Can you please send me the request you are doing?

unkempt cobalt
tender sage
#

try this

#

Removing the / after notifications

#

or change it to \ instead of /

unkempt cobalt
#

still not working
why am i getting data for 63b77869853cc3628e1ace39
"to": {
"subscriberId": "63b77869853cc3628e1ace39"
},
"payload": {
"message": "testing from thunder to user",
"navigationUrl": "/order"
},

tender sage
#

Might have found something. In a meeting for now

ebon tree
#

Will look at this in some time

tender sage
#

@ebon tree If it helps, it seems to happen in prod but not in dev. So, might have been fixed. But I have not got into it too much

tender sage
#

It seems like a bug. @unkempt cobalt would you mind opening a bug report on github?

#

!issue

narrow pawnBOT
unkempt cobalt
tender sage
#

Yes, its very odd

unkempt cobalt
#

Okay then i am opening an issue

tender sage
#

We were already planning to add soon subscriberId to the filters of that endpoint - but still an open issue about this current bug will be helpful

#

Thanks @unkempt cobalt , sorry for misleading you about it working, it really did for some subscribers