Novu

N

Novu

Open Source Notification Infrastructure Community by Novu

Join

💬│support

🚀│general

Attachments in `payload` cause Novu email trigger to fail (500 error)

When attempting to send an email using Novu with an attachment, the request fails with a 500 Internal Server Error. The same code works correctly when the attachments object is removed from the payload.
According to the Novu documentation, attachments should be passed in the payload under the key attachments, but this seems to cause issues in practice. 1. Create an Astro API endpoint that calls Novu’s trigger API.
2. Pass a payload including an attachments object, for example: ...

Change main email

Hi, I changed my primary email address, but notifications are still being sent to my old one. Can you help me, please? Deleted email: grupo.ti@kobold.com.br Primary email: grupo.ti@kob.tech Second email: financeiro@kob.tech...
No description

Not able to send data in-app step of workflow

Hi team , i want to send the payload data to my nextjs frontend instead of using it at in app editor, i came across developers data object but it's converting the object to string for example: i have this as payload schema `{ data: { campaign: {...

Failed build

Hello everyone, I have a problem building the Novu project. Can anyone help me?
No description

Retry mechanism and how are multiple device tokens handled?

Hello all, We are still in the process of rolling out our apps push & web push notifications through novu. However I ran into something a little confusing/concerning and would love to get some clarity. 1. I have a subscriber which when I query for thier FCM device tokens I see there is currently two (both in the same FCM object in in the deviceTokens array). When I send a notification to this subscriber I only see it sending to one of the device tokens (looks like the first one in the array). Is this expected? And if so how am I meant to add new device tokens which receive notifications? 2. I also noticed that there doesn't seem to be any retries when FCM returns the errors I have seen so far like ""Sending message failed due to "Requested entity was not found.""" errors. Is there any exponential backoff or retry mechanism in place as it stands? (I hope so 🤞)...

Using a second search query in a in-app link

Hello, I'm having a problem adding a second search query to the the link or primary action link. Every time I use the & it gets encoded and breaks the path. How do I prevent it from being encoded or how do I add a second search query? I've tried many methods. It seems like no matter what if that link has the & in it it's being encoded.

Fallback on server rendering

Hello, I'm trying to add the Inbox from @novu/react into my app, which uses server-rendering through Tanstack Start. I noticed that the Inbox is client-only and won't render anything on the server. I would like to provide a fallback on the server to display a simple bell icon in the initial HTML. However, this seems to be more problematic than expected. Since Inbox does not render its children on the server, I need to wrap Inbox with tanstack router ClientOnly to provide a fallback icon. This creates another issue though, as components wrapped in ClientOnly re-render multiple times while a response is streamed from the server. For large server-rendered pages, this can amount to 20 to 30 re-renders of Inbox, each of which apparently triggers an API call to api.novu.co/v1/inbox/session. Eventually, this leads to rate limit 429 errors....

Timeout apis

Hello, have some problem ? Apis return timeout just now....

Elevated amount of gateway timeouts

Hello! Since about a week ago we've been getting a lot of gateway timeouts when trying to send a trigger. We don't get them consistently but at random times get a bunch of them. I've checked the Novu status page multiple times but that didn't show any issues. Dashboard is currently also very slow (both new and legacy). We're not self-hosting and using the PHP SDK. We're on a Pro plan and haven't reached our event limits.

WebHooks - Currently I have setup a push webHook in self hosted instance

The response received in provided URL is in below format, which is verbose and contains only title and content. Is there any options to provide just a json payload with required info to the URL. {...

Questions

Hi, just have a few questions - Is it generally possible to run into problems when sending out many notifications at once or how you you handle that? lets say there are 2000 notifications (inapp/email/push) which are going out at the same time...

useCache not working

How do we cache the response from useNotifications ? Because its pretty expensive and sometime notification take 10s to be fetch so how to cache it ? Ive added : ```tsx <NovuProvider applicationIdentifier={process.env.EXPO_PUBLIC_NOVU_APPLICATION_IDENTIFIER!} subscriberId={session.user.id}...

Failed to initialize session in React Native

Everything is on the title, when adding the <NovuProvider /> in my React native app (expo), I have :
Failed to initialize session, please contact the support
Failed to initialize session, please contact the support
I really dont know what I miss :...

Self hosted + react inbox component

Im using novu in production, however to make development easier I have added novu locally in docker-compose and is using the self-hosted version here. However the inbox component is not working with self hosted novu, at least it seems? Is this known about? Any ways i can get this to work?...

Email notifications failed to generate message content

Yesterday we released a new workflow that's a daily report template for some customers. We notified the customer the first email would be send today, but I checked the activity and the email actually failed with the message "Message content could not be generated". This is the transaction ID: txn_68ba2809i3t4mx33goz0 ...

Broken tabs in <Inbox>

Hi Support, After adding more tabs the UI seems broken. ```...
No description

Missing workflows in production

We are seeing that some workflows are not in sync between dev and prod. We were using the old legacy <Changes History> option where we could select the workflow that we wanted to promote to prod. Today we were planning to do the same, but we do not find the workflow as a change pending We have tried also using the Publish changes button on top and it tell us that we are up to date which is not true. We have a critical issue on production where notifications cannot be send because a workflow does not exist ...

FCM notifications not working in production environment

Hey! Some customers complained this morning they're not receiving mobile push notifications. I went to check and looks like some push notifications are failing in the production environment. They are working fine in Development. We didn't change anything since the initial setup. ...

activate/disable notifications

hi, i tried to implement a settings page, where i can toggle to disable or activate the novu notifications gloabally seperatly besides the default option in the Inbox Component. i used the Subscriber preferences API to get and update the preferences....
No description