Unable to add multiple providers in self hosting
I'm trying to add a second onesignal provider to my integrations store but im getting error "Duplicate key - One environment may not have two providers of the same channel type".
7 Replies
Hi @Rahul-evolvier, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Email providers
* Email
* General
* Slack
-----------------------------
Answer
Based on the information available, it seems that Novu restricts the addition of multiple providers of the same channel type within a single environment. This is designed to prevent conflicts and ensure a clear pathway for notification routing within Novu's infrastructure. The error message "Duplicate key - One environment may not have two providers of the same channel type" explicitly indicates this limitation. For detailed management of providers and possible workarounds, you may need to refer to the official Novu documentation or explore community discussions for more insights.
Got it. Tagging @Support for additional help.
Hey @Rahul-evolvier, are you using the cloud or self hosted version?
Also make sure about naming when adding theme.
Are you trying to create something like that?
![No description](https://cdn.answeroverflow.com/1236704212906409984/Screenshot_2024-05-05_at_18.39.44.png)
@Rahul-evolvier
Please mention the self hosting version
version 0.24.1
Yes, im trying to add two onesignal providers in self hosted novu but im getting the error while adding the second one. I have tried different names as well as creating integrations through nodejs but both give the same error.
@Rahul-evolvier debugging this issue
@Pawan Jain There was a mismatch in the backend and web versions while hosting on docker which caused this issue. I have updated all services to latest and now it is working as expected.
Thanks for the update