sandsower
NNovu
•Created by sandsower on 10/8/2024 in #💬│support
Getting 504, 503 errors right now
Hi, we're getting a lot of 504, 503 errors right now when trying to register new users for webpush and when trying to send notifications.
We checked novustatus.com and it seems to be operational, there are no issues on our system so we're scratching our heads right now wondering what's failing, could you help me out?
4 replies
NNovu
•Created by sandsower on 5/27/2024 in #💬│support
Is there a way to create a subscriber from the headless service?
We're trying to setup push notifications but apparently they need a device token. However I couldn't find a way to set this information in the headless service, it receives only a subscriber id as a parameter and nothing else related to the subscriber itself
7 replies
NNovu
•Created by sandsower on 5/2/2024 in #💬│support
Handlebars not working on redirecturl field
I need to add some logic to change the redirect url depending on the size of the digest, is there a way to do this with handlebars or are those not working on that field? I've tried
{{#unless step.digest}} {{visitRoute}} {{else}} {{scheduleRoute}} {{/unless}}
without any luck8 replies
NNovu
•Created by sandsower on 5/2/2024 in #💬│support
Consuming digest in headless lib
Hi, I was trying to find an example on how to consume in-app messages that have gone through a digest using the headless lib but couldn't find any, the website only shows the notification center examples here https://docs.novu.co/guides/add-digest-to-inapp-notifications , are there any other examples I can look at for the headless lib or pointers on how to consume them?
11 replies
NNovu
•Created by sandsower on 4/5/2024 in #💬│support
headless fetchNotifications() overfetches on multiple calls
I'm using the headless library to power a component that has 2 states, all notifications and unread only. It all works fine on initial load but if I change the state (and make another call to fetchNotifications) then there seems to be a feedback loop where the data gets fetched for both cases multiple times.
I've tried unsubscribing after receiving a notifications response which does stop the refetching but then I can no longer listen for unseen notifications.
NOTE: The example on the novu-headless-demo has an await for the fetchNotification call but fetchNotification returns no promise so it doesn't quite work 1:1, no idea if this is related
8 replies
NNovu
•Created by sandsower on 3/27/2024 in #💬│support
Testing provider locally
Hi, I've written a new provider for novu (ntfy) but I'm struggling to test it within the web UI. I'm running the project using start:dev from the root of the repo. The issues I'm facing are:
- There's a weird reload issue making the UI feel unresponsive
- The provider shows up but the config options don't match
- It doesn't let me select an environment
- Saving doesn't work, I'm getting a network error when doing so
I feel like I'm probably missing something in the project configuration, could you point me in the right direction on how to get it running locally properly?
25 replies
NNovu
•Created by sandsower on 3/27/2024 in #💬│support
Moving from Cloud to self-host
Hi! We are considering Novu as an option for our messaging needs, we want to start by using the cloud service to kickoff and then move on to the self host option later on. Is there a way to move the configuration from Cloud to Self-host (workflows, subscribers, tenants and so on) or would it need to be reconfigured after the self host option has been set-up?
10 replies