N
Novu14mo ago
🎶Keaton

Unable to promote changes

Hello, I have run into a stange issue. I am unable to promote two of my changes due to the error notated in the screenshot. Our organization ID is 651d7607881629515286e874
No description
25 Replies
🎶Keaton
🎶KeatonOP14mo ago
No description
🎶Keaton
🎶KeatonOP14mo ago
I created a new Workflow with the password reset template but changed it a bit which is why I think its a tad confused?
🎶Keaton
🎶KeatonOP14mo ago
two workflows I have
No description
Gali Baum
Gali Baum14mo ago
@🎶Keaton did you try promoting each one separately? what error are you getting for each?
🎶Keaton
🎶KeatonOP14mo ago
@Gali Baum yes, same exact error well, differing in the Notification Template name
🎶Keaton
🎶KeatonOP14mo ago
🎶Keaton
🎶KeatonOP14mo ago
Response from the apply endpoint:
Novu_Bot
Novu_Bot14mo ago
@🎶Keaton, you just advanced to level 1!
🎶Keaton
🎶KeatonOP14mo ago
{
"message": "Notification Group Id 653a8c96e329caae11b97092 not found, Notification Template: Account Setup",
"error": "Not Found",
"statusCode": 404
}
{
"message": "Notification Group Id 653a8c96e329caae11b97092 not found, Notification Template: Account Setup",
"error": "Not Found",
"statusCode": 404
}
The payload is empty https://api.novu.co/v1/changes/653a907eea37143fcb19364f/apply
Gali Baum
Gali Baum14mo ago
Odd. we will need to investigate that. But, just that you are not stuck for now. I believe if you go to one of the workflows and create a new workflow group and then chose that same one in the other workflow you will be able to promote
Gali Baum
Gali Baum14mo ago
No description
Gali Baum
Gali Baum14mo ago
Let me know how it goes 😅
🎶Keaton
🎶KeatonOP14mo ago
Worked fine here I guess the default group was not created when using the default password reset template?
Gali Baum
Gali Baum14mo ago
interesting. good lead. It was the first ever template for your organization?
🎶Keaton
🎶KeatonOP14mo ago
swapping back to the Authentication group results in same issue ofc, just weird that the dropdown has the option Yes
Gali Baum
Gali Baum14mo ago
checking
🎶Keaton
🎶KeatonOP14mo ago
I believe I used GitHub to sign in as well
{
"data": [
{
"_id": "651d7608881629515286e87f",
"name": "General",
"_organizationId": "651d7607881629515286e874",
"_environmentId": "651d7608881629515286e87a",
"createdAt": "2023-10-04T14:26:16.304Z",
"updatedAt": "2023-10-04T14:26:16.304Z",
"__v": 0
},
{
"_id": "653a8c96e329caae11b97092",
"name": "Authentication",
"_organizationId": "651d7607881629515286e874",
"_environmentId": "651d7608881629515286e87a",
"createdAt": "2023-10-26T15:58:14.048Z",
"updatedAt": "2023-10-26T15:58:14.048Z",
"__v": 0
},
{
"_id": "653ffe72c086274eec8d7b3e",
"name": "Test Group",
"_organizationId": "651d7607881629515286e874",
"_environmentId": "651d7608881629515286e87a",
"_parentId": "651d7608881629515286e87f",
"createdAt": "2023-10-30T19:05:22.544Z",
"updatedAt": "2023-10-30T19:05:22.544Z",
"__v": 0
}
]
}
{
"data": [
{
"_id": "651d7608881629515286e87f",
"name": "General",
"_organizationId": "651d7607881629515286e874",
"_environmentId": "651d7608881629515286e87a",
"createdAt": "2023-10-04T14:26:16.304Z",
"updatedAt": "2023-10-04T14:26:16.304Z",
"__v": 0
},
{
"_id": "653a8c96e329caae11b97092",
"name": "Authentication",
"_organizationId": "651d7607881629515286e874",
"_environmentId": "651d7608881629515286e87a",
"createdAt": "2023-10-26T15:58:14.048Z",
"updatedAt": "2023-10-26T15:58:14.048Z",
"__v": 0
},
{
"_id": "653ffe72c086274eec8d7b3e",
"name": "Test Group",
"_organizationId": "651d7607881629515286e874",
"_environmentId": "651d7608881629515286e87a",
"_parentId": "651d7608881629515286e87f",
"createdAt": "2023-10-30T19:05:22.544Z",
"updatedAt": "2023-10-30T19:05:22.544Z",
"__v": 0
}
]
}
Response from https://api.novu.co/v1/notification-groups It looks like the group does exist but might've not been linked to the org properly in mongo? but not sure why the relationship would be one-sided like that anyway Switching to the General group also works funnily enough
Gali Baum
Gali Baum14mo ago
I will try to investigate tomorrow 🙂 are you good for now? could you please tell me steps to reproduce ? Like, what actions you did
🎶Keaton
🎶KeatonOP14mo ago
Yup, works fine for me, I have stuff live in Production now. I setup a new account, created a workflow based off of password reset and kept it mostly the same aside from some text and I think a variable change Created another workflow based off password reset for account setup, changed the name/ID/text, etc Changed layout a few times Added an SMTP provider (Mailpit) then tried to promote and was met with the error
Gali Baum
Gali Baum14mo ago
awesome. Thanks for reporting!! I'll look into it
🎶Keaton
🎶KeatonOP14mo ago
Thanks! Super quick support response, wasn't expecting anything back for a day
Pawan Jain
Pawan Jain14mo ago
Thanks Gali 🏆
Gali Baum
Gali Baum14mo ago
@Pawan Jain I was able to reproduce. The problem is with templates from the store that add a new workflow group. We are not creating a change entity for the workflow group like we should, we directly create it in dev. So the group is not created in prod env and workflow can not be promoted. I suspect the same would happen if one of the blueprints had a new feed as well. Could you please create a ticket for this?❤️
Pawan Jain
Pawan Jain14mo ago
Sure Gali
Linear
Linear14mo ago
Want results from more Discord servers?
Add your server