Shisheer
Shisheer
NNovu
Created by Shisheer on 4/1/2025 in #💬│support
Some /v2 endpoints not working
@Pawan Jain Thank you for your reply. Will try out the v1 API 👍 I have been getting errors related to subscriber preference when triggering email workflows to a subscriber. I fixed it by calling /v2/subscribers/{subscriberId}/preferences endpoint. The endpoint would respond with 500 but somehow also add the subscriber preference to the preferences table in MongoDB. In any case, it somehow seemed to fix the issue. I have other subscribers that I haven't fixed the issue for so I will try /v1/subscribers/{subscriberId}/preferences (i.e. the v1 API endpoint) to see if that works by adding the preference to the preferences MongoDB table **without a 500 response
5 replies
NNovu
Created by Shisheer on 4/2/2025 in #💬│support
UI for Novu v2
Okay, that sounds good. Thank you for the reply 🙏
3 replies
NNovu
Created by Shisheer on 12/5/2024 in #💬│support
Redis clarification
6 replies
NNovu
Created by Shisheer on 11/29/2024 in #💬│support
Novu versions and packages
@Pawan Jain I see, I use v0.24.0 (an old version based on what you said) for api and v0.24.4 for web/worker/ws. I do not have webhook set up, I hope this wouldn't cause issues? What exactly does the webhook help with in regards to email and sms integrations?
6 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
@Pawan Jain Never mind, I fixed the issue. The egress traffic for the worker was being dropped because the egress policy was preventing the worker from making calls to external IPs via port 443 👍
11 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
@Pawan Jain Sure, I will try that again. I've tried v0.24.4 for api before; however, I noticed this error in the log (attached in log file)
11 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
These are the logs for api:
11 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
@Pawan Jain Yup, I'm sure they are correct. I copied from the SES and Twilio website using their clipboard button and pasted it into Novu web that's running in http://localhost:4200. I searched for "email" in my api logs but only got level 30 logs (so not ERROR logs). I also searched for "email" in my worker logs and got the following 3 logs (1 is level 30, 2 are level 50). I've attached the log file for worker:
11 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
This is the error message in question:
{"level":50,"time":1733970889292,"pid":18,"serviceName":"@novu/worker","serviceVersion":"0.24.3","platform":"Docker","tenant":"OS","transactionId":"a9d839f2-8163-43ff-a002-ba8fff334e4a","environmentId":"675867ae8ecee2f80977ce72","organizationId":"675867ae8ecee2f80977ce6b","jobId":"675a4a34136b97bc283c6260","jobType":"email","context":"StandardWorker","err":{"type":"PlatformException","message":"Unexpected provider error","stack":"Error: Unexpected provider error\n at RunJob.<anonymous> (/usr/src/app/apps/worker/dist/webpack:/@novu/worker/src/app/workflow/usecases/run-job/run-job.usecase.ts:101:13)\n at Generator.throw (<anonymous>)\n at rejected (/usr/src/app/apps/worker/dist/main.js:1251:65)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"},"msg":"Failed to run the job 675a4a34136b97bc283c6260 during worker processing"}
{"level":50,"time":1733970889292,"pid":18,"serviceName":"@novu/worker","serviceVersion":"0.24.3","platform":"Docker","tenant":"OS","transactionId":"a9d839f2-8163-43ff-a002-ba8fff334e4a","environmentId":"675867ae8ecee2f80977ce72","organizationId":"675867ae8ecee2f80977ce6b","jobId":"675a4a34136b97bc283c6260","jobType":"email","context":"StandardWorker","err":{"type":"PlatformException","message":"Unexpected provider error","stack":"Error: Unexpected provider error\n at RunJob.<anonymous> (/usr/src/app/apps/worker/dist/webpack:/@novu/worker/src/app/workflow/usecases/run-job/run-job.usecase.ts:101:13)\n at Generator.throw (<anonymous>)\n at rejected (/usr/src/app/apps/worker/dist/main.js:1251:65)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"},"msg":"Failed to run the job 675a4a34136b97bc283c6260 during worker processing"}
11 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
No description
11 replies
NNovu
Created by Shisheer on 12/12/2024 in #💬│support
Unexpected Provider Error for SES and Twilio
No description
11 replies
NNovu
Created by Shisheer on 11/29/2024 in #💬│support
Novu versions and packages
@Pawan Jain Another question, what is the purpose of the webhook package? Is this somehow related to the provider integrations?
6 replies
NNovu
Created by Hanumantha Reddy on 8/27/2024 in #💬│support
Getting CORS Network error while accessing Novu Web
@Hanumantha Reddy I too face a similar error and a similar setup (k8s). Were you able to figure this out?
2 replies
NNovu
Created by Shisheer on 12/5/2024 in #💬│support
Redis clarification
Yup, I'm self-hosting Novu on k8s
6 replies
NNovu
Created by Shisheer on 12/3/2024 in #💬│support
Redis Requirements
@Pawan Jain Hey, just following up. It seems the reason workflowQueue was down was because I set my Elasticache with TLS; however, I did not provide REDIS_TLS env. Can I get some clarity on the distinction between Redis, Redis (for caching) and Redis (for cluster) seen here More specifically, what's the difference between REDIS_HOST and REDIS_CACHE_SERVICE_HOST?
2 replies
NNovu
Created by Shisheer on 11/29/2024 in #💬│support
Novu versions and packages
Sounds good, thank you 👍
6 replies