todd
NNovu
•Created by ujwal1373 on 12/6/2023 in #💬│support
Unable to send notifications in 0.21.0
@Pawan Jain Any hints as to the problem and places to look? I had a production outage from this and had to roll the whole system back. I'm not convinced it is a code fix and could help.
16 replies
NNovu
•Created by ujwal1373 on 12/6/2023 in #💬│support
Unable to send notifications in 0.21.0
@Pawan Jain any thoughts?
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
Thanks @Dima Grossman — yes, those endpoints do work when called directly.
The challenge is that they aren’t included in the OpenAPI spec. This leads to issues where any differencing or validation tools interpret them as “removed” or non-existent, since they’re undocumented. For cases like auto-generated clients or maintaining a typed SDK, this makes things particularly difficult — especially in a code-first setup where strong typing and alignment with the spec are critical.
Documenting these endpoints, even minimally, in the OpenAPI spec would go a long way toward improving developer experience and long-term maintainability.
Appreciate your help!
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
@Dima Grossman I wanted to explain my use case clearly:
I need to provision two organizations.
Then, I need to provision workflows under each organization.
How is this expected to be done with the current setup?
And how will this be migrated in the future, especially with code-first workflows?
At this stage, the answer is yes, I need full organization separation.
(For context: my application is B2B2C — the admin users belong to one organization, and the customer users belong to the other.)
Thanks for your help!
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
Hey @Dima Grossman
One still outstanding from my message, I’m running into something I think needs clarification regarding the OpenAPI spec.
It seems like the OpenAPI spec might be “incorrect” or incomplete — and I think digging into this could surface some important design context.
Looking at this line:
https://github.com/novuhq/novu/blob/fbb1dded0d4d880fa29b2057dd524b873d3ef64d/apps/api/src/app/organization/organization.controller.ts#L52
The
@ApiExcludeController()
attribute is excluding the whole OrganizationController
from the OpenAPI spec (unless I’m misunderstanding?).
Could you explain the design thinking behind “hiding” this?
From my perspective, it seems like there’s more functionality available in the backend than what’s exposed/documented.
• Is this intentional?
• If so, is it something that could be reconsidered for future improvements?
Really appreciate any clarification here 🙏 — trying to make sure I’m correctly understanding the boundary between what’s “official” and what’s “actually available.”
From a developers perspective, your product requires it all open so I can go headless which is one of the original propositions—and a great one!
Thanks a lot!16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
@Dima Grossman Thanks, for clarifications—I will happily look at an alpha version (in fact, bring it on it takes a lot of time and effort from me as no-one else is doing work on it).
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
ps is Novu Project just the self-hosted version?
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
@Dima Grossman thanks for the response.
Perhaps, but I also maintain a C# Sync that uses that library and the abstractions from openapi spec are really not idiomatic for C#. Speakeasy may solve that. Don't forget there is a user base already on the current SDK that will need to be migrated.
The problem lies that the openapi spec from what I can tell is wrong. Endpoints have been removed that are current. Take for instance organizations. The endpoint is there and used in the dashboard, but the code has attributes has it excluded from the openapi spec.
I have to say that the shift from no-code workflows to code-first is hard to follow and it has taken me days to piece this together. I still can't even tell if no-code is going to remain—given the architecture of the code-first requiring a bridge application I would have thought so. But the dashboard looks like it will ditch it.
Before you go speakeasy for C#, could we evaluate its results? I might be that there are two and I'll happily take a back seat. But I really think the openapi is wrong—so I need to work out what I have missed.
Thanks for your patience.
16 replies
NNovu
•Created by ujwal1373 on 12/6/2023 in #💬│support
Unable to send notifications in 0.21.0
Or, am I looking in the wrong place and it is the integration that needs some upgrade!
I have looked at the code in the
send-message-email.usecase.ts
and can see the origin of the error is looking through various layers.
I presume my answer is somewhere in the apps/api/migarations/integration-scheme-update
where there are 3 migrations and one spec.
Note: I have run these under v0.21.0 branch of the code16 replies
NNovu
•Created by ujwal1373 on 12/6/2023 in #💬│support
Unable to send notifications in 0.21.0
@Pawan Jain
I am on 0.20.0 (container image)
I checkout various git branches to run the code as I run each of the migrations (listed in the script)
I then upgrade to 0.24.7
The error occurs on sending the email.
If I then roll back to 0.20.0, the errors disappears and the email is sent
The error is understandable that a default/active integration (email) is required I presume on the subscriber. So hence a migration.
But, what baffles me is that a new subscriber does have this problem too. So, perhaps it is something else.
I haven't tried other images less than 0.24.7
Todd
16 replies
NNovu
•Created by ujwal1373 on 12/6/2023 in #💬│support
Unable to send notifications in 0.21.0
The same as above: "Subscriber does not have an active integration".
I reckon that there is a particular migration that must be run under a particular version of the codebase!
Thanks
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
@Endy_ here is an diff between Project/Self-Hosted (0.24.7) and Cloud (2.1.1) when deployed locally (see https://github.com/OpenAPITools/openapi-diff)
https://github.com/novuhq/novu-dotnet/blob/106-subscribers-cannot-be-notified-by-topic/specs/2.1.1/diff.html
- subscribers and workflows endpoints are upgraded (v2)—but because in a new namespace are new
- subscribers, workflows removed
- also organizations, environments, notification-groups, notification-tempmlates, notification-templates, tenants, feeds, workflow-overrrides—seem also to be removed which is strange because organizations for instance is central
- whole lot of changes
I am still trying to make sense of all this and can't find anywhere that does that.
I had tried to keep track of changes in the novu-dotnet sdk
16 replies
NNovu
•Created by Endy_ on 4/23/2025 in #💬│support
Some v2 API endpoints don't work on self-hosted Novu
@Pawan Jain I am looking for documentation that explains this all clearly and precisely. I need to know for two reasons: I'm maintaining an SDK that has v2 api users logging bugs and I also have a self-hosted instance. I have found https://docs.novu.co/community/project-differences
For example, you say "legacy" SDK, I'm even unsure about that.
I can't find the discussion and am really happy to document it and provide it back. Please point me in the right direction 🙂 @Dima Grossman
Thanks in advance.
16 replies
NNovu
•Created by isaiahdahl on 11/15/2024 in #🚀│general
Is there a migration path from v0.x to v2.x self hosted?
Do you know anything here around the migrations?! https://discord.com/channels/895029566685462578/1181954704046034994/1364840582060576870
15 replies
NNovu
•Created by ujwal1373 on 12/6/2023 in #💬│support
Unable to send notifications in 0.21.0
I am very late to the game here. I have the same problem upgrading from 0.20.0 to 0.24.7. I have run all the migrations and still get the error.
I have run the migrations from code @origin/0.21.0 (git checkout v0.21.x) and then run the migrations (successfully). Attached are my migrations scripts.
Help!
16 replies
NNovu
•Created by isaiahdahl on 11/15/2024 in #🚀│general
Is there a migration path from v0.x to v2.x self hosted?
For those tracking: https://github.com/novuhq/docs/pull/825
15 replies
NNovu
•Created by isaiahdahl on 11/15/2024 in #🚀│general
Is there a migration path from v0.x to v2.x self hosted?
@Dima Grossman thanks so much. I will get to making a submission for documentation as I have been upgrading all my environments and working out the glitches/gotchas/practicalities for self-hosted:
* migrations prior to 0.19 seem not to exit properly
* some migrations require redis—do you expect that this is real side effect (ie it must connect with the actual redis?)—if so, then I will need to improve the script and include tunnel instructions
* for interest, is there a reason you have never included a migrations runner to manage these (noted in documentation)
* general comment, migrations in my experience are also projects/images and also I wonder why this hasn't been separated out (I suspect oversight/time—document databases still need migrations as you can see :-))
Finall comment, in my documentation I have reconciled the documentation against what can be seen in the git respository for long-term maintenance. The current once is probably correct, but hard to reconcile. Just a heads up of the why I did it as I have.
Thanks. (guide included now for back reference)
15 replies
NNovu
•Created by isaiahdahl on 11/15/2024 in #🚀│general
Is there a migration path from v0.x to v2.x self hosted?
@Dima Grossman Can I also clarify that:
* there is no practical way to run the migrations from a docker version of the api image. It must be from source.
* for all your environments (from local development all the way through to productioin), do you have migrations in any build pipelines? Or does everyone and each environment migrated from a developer machine or dedicated machine?
ps I would love this to be wrong but I have tried and the migrations are looking back through to the developer setup.
15 replies
NNovu
•Created by isaiahdahl on 11/15/2024 in #🚀│general
Is there a migration path from v0.x to v2.x self hosted?
Thanks for the answer. The link to the migrations page was key as the current link in the release notes is broken.
15 replies
NNovu
•Created by isaiahdahl on 11/15/2024 in #🚀│general
Is there a migration path from v0.x to v2.x self hosted?
For anyone interested, I have started to compile a set of notes, including knowing which migrations to run.
15 replies