N
Novu3mo ago
inlustra

Novu returning "processed" and acknowledged but no activity found and workflows not triggered

Hey guys, I'm trying to diagnose an issue we're seeing when moving over to production. In development, all is well and working. However since moving over to production, we're seeing the events just "swallowed" IE, we're not sure what's going on with them. Here's the response from Novu:
{"acknowledged":true,"status":"processed","transactionId":"0348983f-acb7-486b-ad9d-ab352c5f8f58"}
{"acknowledged":true,"status":"processed","transactionId":"0348983f-acb7-486b-ad9d-ab352c5f8f58"}
However, as mentioned in the title, there aren't any workflows being triggered and the activity feed shows "no activity"
9 Replies
Pawan Jain
Pawan Jain3mo ago
@inlustra Thanks for sharing the transactionId we are checking the logs. I will update you asap
inlustra
inlustra3mo ago
Hey @Pawan Jain Thanks, I apologise in advance, I have no doubt this is some mess up on my end However, the API keys do seem to be correct!
Pawan Jain
Pawan Jain3mo ago
Are you using US instance or EU one? Could you please share the code snippet you used to trigger the workflow?
inlustra
inlustra3mo ago
Should be the EU instance!
await novu.trigger(workflow, {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: id }],
tenant: { identifier: id },
payload,
});
await novu.trigger(workflow, {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: id }],
tenant: { identifier: id },
payload,
});
Our system is broken down into user "workspaces" (Also created as tenants in Novu) The topic ID for the entire workspace is the same as the tenant ID I can share the full payload if needed, however I'll need to do some anonymization
Pawan Jain
Pawan Jain3mo ago
@inlustra code snippet seems to be correct. can you share the environmentId from settings?
inlustra
inlustra3mo ago
Here we go: 641c3bb95d9af70da93f09d5 Thanks again for jumping on this to help so fast. As a total side note, as someone that has lead the creation of a "communications platform" for a very large company from scratch. Novu is insanely close to the thing we had built out internally so I already love the product.
Pawan Jain
Pawan Jain3mo ago
Thanks for your kind words @inlustra it's a bit strange that, for the above transactionId and environmentId, I could not find any logs Can you please share the complete code snippet in personal message?
inlustra
inlustra3mo ago
Sure!
Novu_Bot
Novu_Bot3mo ago
@inlustra, you just advanced to level 1!