Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

ITriggerOverrideFCM Overrides don't match Docs

Having a few issues getting FCM notifications to not trigger twice in the onBackgroundMessage listener of our app using FCM and webPush. Part of the problem that makes this more confusing is that the Docs on https://docs.novu.co/channels/push/fcm/ don't match up with the types provided. ```...

Getting Next page using useNotifications

Adding the question asked by @vortovor " Hi, is there a limit for notifications count in respose of useNotifications()hook? I am getting always 10 items even though more than 10 notifications was sent. "

How to know if trigger event failed?

I have a test app where I created test-template, which has 2 steps, push and in-app. If the push step fails, the trigger event will stop, and right now I am sending the notification to a user that has no push subscription configured, and the template fails succesfully. However, the response I get is the same as if the notifcation was sent correctly. It has no errors, it is acknowledged and with status processed. So, using the API, is there no way to get a failure response when the transaction actually fails? In the pasted image you can see the trigger event done to the user with subscriber_id 100, and a response which indicates success, but in the dashboard the trigger event is marked as failed....

Internal server error - Integration store - Custom SMPT

I am trying to add my SMPT server, but when I try to connect it I get internal server error. I have tried connecting without SSL but the result is the same....

Set log lavel

Can i change the log level to not receave messages like {"level":30,"time":1686166363435,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":0,"msg":"MetricQueueService/ws_socket_queue/waiting"} {"level":30,"time":1686166363435,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":0,"msg":"MetricQueueService/ws_socket_queue/delayed"} {"level":30,"time":1686166363435,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":0,"msg":"MetricQueueService/ws_socket_queue/active"}...

Same problem with novu

So I reinstalled novu on another VPS with docker and I have the same problem. Some functions don't work, for example, if I create a new memberu in the team, the button to copy the invitation is not functional. Do I need to make other settings on the VPS? I use ubuntu....

Does the getNotifications API have a query param override to get all data instead of pagination?

For example, if I am getting all notifications with a certain transactionID is there a way to get all of that data in one call instead of paginating the data with a size of 10 results?

How to get the message IDs for all of notifications that were part of a trigger operation?

Let's say I trigger a notification to a list of subscribers in Novu, and all of these are in-app notifications. Is there a way that I can then get the message IDs for all of these notification messages on trigger? Rather than by having all of the clients send the individual messageIDs to the backend.

context.stylis is not a function, error with the React Novu package

I am implementing Novu onto my codebase. A few days ago I tested Novu on a test app built with React and it worked fine. Now, my real app is also built with React but uses React Router to simulate a multi-page app, and it's far more complex than the test app. Adding the Novu notification center to a component in my app resulted in the error you can see on the added screenshot, when React tries to render the notification center It seems to relate the emotion CSS library, and I thought it had to do with the dependencies not installing correctly, so I deleted my node_modules and did a clean install, but it doesn't work, the error keeps appearing. Other things that I have thought of is that it could be related to the React version (my codebase has the 16.8.6), but I wanna be sure of that before going through the hassle of updating React and potentially breaking stuff. Anyone got any leads on how to solve it?...

Step queued

What does step queued mean when I filter on something and give a test snippet? I have set the filter to OnlineRightNow yes....

Self-Hosted Invite email not sent, copy invite link not working

I've read that the invitation email can't be sent on local hosted, but if I click copy invite link, nothing is copied.

Novu embed,widget,ws service load size

Hi, I have added a chart of outgoing bytes from the given services like ws,embed and widget. Is it possible that you could be explain for what such a services are responsible? WS this is websocket and I have expected that the biggest bytes loadout will be there, but the embed and widget services got much much higher loadout than ws and than i have expected. Will you explain me why is that and for what purpose are that services? Thanks for answer...

Failed to refresh slots cache.

I changed redis server and get {"level":50,"time":1685629699169,"pid":17,"serviceName":"@novu/worker","serviceVersion":"0.15.0","platform":"Docker","tenant":"OS","context":"InMemoryCluster","err":{"type":"ClusterAllFailedError","message":"Failed to refresh slots cache.","stack":"ClusterAllFailedError: Failed to refresh slots cache.\n at tryNode (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/cluster/index.js:308:31)\n at /usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/cluster/index.js:325:21\n at /usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/cluster/index.js:662:24\n at run (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/utils/index.js:117:22)\n at tryCatcher (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/standard-as-callback/built/utils.js:12:23)\n at /usr/src/app/node_modules/.pnpm/[email protected]/node_modules/standard-as-callback/built/index.js:33:51\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","lastNodeError":{"type":"Error","message":"Connection is closed.","stack":"Error: Connection is closed.\n at close (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/redis/event_handler.js:189:25)\n at Socket.<anonymous> (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/redis/event_handler.js:160:20)\n at Object.onceWrapper (node:events:628:26)\n at Socket.emit (node:events:513:28)\n at Socket.emit (node:domain:489:12)\n at TCP.<anonymous> (node:net:301:12)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)"}},"msg":"Failed to refresh slots cache."}...

Importing users in bulk (CSV or something like that)

Hello. I would like to import the already existing users that I have in my database to Novu in bulk. OneSignal, for example, supports importing users through CSV files; does Novu have something similar?

Is prioritisation of a particular workflow provided by Novu?

Usecase: Suppose I have two workflows Workflow 1. Where I want to send some promotional event to subscribers which has low priority Workflow 2. I want to send onboarding email and sms to subscriber which should be immediate i.e high priority. Does novu provide priority feature for a particular workflow ?...

Socket timeout

Hi Guys, Is it possible to set up some kind of timeout for socket? I have self hosting configuration and right now the socket is open as long as the service page in browser is open by user. For example I want to set up 5 minutes of timeout and then if user refresh page then will reconnect. Or is it possible from the frontend site of development to disconnect such a socket if there is long time of inactivity?
Thanks for answer...

Ruby SDK error handling

I was wondering, does the Ruby library include some kind of error handling for the case that an API call fails and responds with an error status? Or do we have to check the status code in the response and raise an error manually?

What are the steps to integrate Novu with OneSignal?

Hello everyone. I am having difficulty understanding how to integrate Novu with OneSignal and I have several questions: 1. How do I configure it? I added my OneSignal app id and API keys in the Integration Store, but I don't know if I also have to initialize OneSignal as shown here: https://github.com/novuhq/novu/blob/main/providers/one-signal/README.md 2. What exactly does the integration do? Does it use the OneSignal API to programatically create devices (or Users if you are using the new user-centric model) to the OneSignal app and create notifications, or is it something different? 3. Do I have to do some configuration in the side of OneSignal?...

After an event is triggered , how to find out that the triggered event was success?

I have a use case where i want to send a sms to a user . So suppose I use a third party "A" which sends an sms when triggered but for some reason "A" is down so I want to use third party "B" to send sms. So my question is how to find the status of the action performed by the trigger ?...

Use Google Cloud storage

I am trying to use Google cloud storage to save attachments/images. I have set the following variables: `STORAGE_SERVICE=GCS GCS GCS_BUCKET_NAME=...