Tim Anderson
NNovu
•Created by Tim Anderson on 3/14/2024 in #💬│support
Users not getting added to subscriber list?
I have a backend service that subscribes users to our novu list. How long does it take for subscriptions to show up on the subscribers list in novu? It looks like the request returns ok:
addedResp: {"clientRequestId":"44979ac9-be51-442a-8699-370501cb20c1","requestId":"213c1c1a-f002-0041-4735-76b091000000","version":"2019-02-02","date":"2024-03-14T17:30:49.000Z","etag":"W/"datetime'2024-03-14T17%3A30%3A49.7389991Z'"","preferenceApplied":"return-no-content"}
7 replies
NNovu
•Created by Tim Anderson on 1/3/2024 in #💬│support
API Logs show created, but activity feed shows no emails sent
7 replies
NNovu
•Created by Tim Anderson on 12/19/2023 in #🚀│general
Roadmap for getting subscriptions by subscriber?
Hi there, we're anxiously waiting for the api to support getting a list of subscriptions by subscriber. Can someone share where that is on your roadmap?
5 replies
NNovu
•Created by Tim Anderson on 12/1/2023 in #💬│support
Node.js SDK 401 (Unauthorized) on remove subs from topic
From what i can see, I'm doing it correctly:
let response = await novu.topics.removeSubscribers(topicKey, {
subscribers: [ subscriberInfo.mail ]
});
I know the topicKey and subscriberInfo.mail are correct, but it gives the following error when i try:
status code 401 at createError (/home/site/wwwroot/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/site/wwwroot/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/site/wwwroot/node_modules/axios/lib/adapters/http.js:269:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { config: { url: '/topics/tag::articles::hpv/subscribers/removal', method: 'post', data: '{"subscribers":["[email protected]"]}
Addition works fine, and when I use postman on the API it works without a hitch.
10 replies
NNovu
•Created by Tim Anderson on 11/22/2023 in #💬│support
Digest Email Workflow test not showing step events -
Hi guys, thanks for help ahead of time.
In my custom code for the email, I have: <p>You subscribed to be notified when an article or intelligence report is published with a particular tag.</p> <p> {{#each step.events}} <p>{{docType}} published with tag: {{subTag}} - <a href={{urlRef}}>{{linkTitle}}</a></p> {{/each}} </p> and am passing an array of 2 with each of those example variables on test, like so: { "urlRef": "https://xxxxxxxx/intelligence/reports/25164", "linkTitle": "BioE OCV-S", "docType": "intelligence report", "subTag": "OCV" } . When I test it, I receive the email, but no list of the step.events. Yes, I know the url is not correct, it's for security.
In my custom code for the email, I have: <p>You subscribed to be notified when an article or intelligence report is published with a particular tag.</p> <p> {{#each step.events}} <p>{{docType}} published with tag: {{subTag}} - <a href={{urlRef}}>{{linkTitle}}</a></p> {{/each}} </p> and am passing an array of 2 with each of those example variables on test, like so: { "urlRef": "https://xxxxxxxx/intelligence/reports/25164", "linkTitle": "BioE OCV-S", "docType": "intelligence report", "subTag": "OCV" } . When I test it, I receive the email, but no list of the step.events. Yes, I know the url is not correct, it's for security.
9 replies