Jonathan Licht
Jonathan Licht
NNovu
Created by Jonathan Licht on 4/21/2025 in #💬│support
Cannot post /v2/subscribers
I am using the python SDK and on trying to create users with response = novu_client.subscribers.create(create_subscriber_request_dto=request) i get the following error:
novu_py.models.errordto.ErrorDto: {"statusCode":404.0,"timestamp":"2025-04-21T19:40:45.597Z","path":"/v2/subscribers","message":"Cannot POST /v2/subscribers","ctx":{"error":"Not Found","statusCode":404}}
novu_py.models.errordto.ErrorDto: {"statusCode":404.0,"timestamp":"2025-04-21T19:40:45.597Z","path":"/v2/subscribers","message":"Cannot POST /v2/subscribers","ctx":{"error":"Not Found","statusCode":404}}
8 replies
NNovu
Created by Jonathan Licht on 4/14/2025 in #💬│support
User Preferences Question pt 2
going back to this thread, I had another question. Is it possible to have user preferences about a channel that is never used in a workflow? For example, I have a "file collected" workflow which sends an in app notification, then has a custom step that triggers my summary email step. In my summary email step I would like to check the email preferences for the "file collected" workflow. However, the only preferences that seem to exist are in app notifications because that is directly used in the file collected workflow. Here is the relevant snippet of the json response i get back from my list preferences call. as you can see the only channel is in_app .
{
"enabled": true,
"channels": {
"in_app": true
},
"overrides": [
{
"channel": "in_app",
"source": "subscriber"
}
],
"workflow": {
"slug": "file-collected_wf_fqWQs23645XzGn2X",
"identifier": "file-collected",
"name": "file-collected"
}
},
{
"enabled": true,
"channels": {
"in_app": true
},
"overrides": [
{
"channel": "in_app",
"source": "subscriber"
}
],
"workflow": {
"slug": "file-collected_wf_fqWQs23645XzGn2X",
"identifier": "file-collected",
"name": "file-collected"
}
},
8 replies
NNovu
Created by Jonathan Licht on 4/14/2025 in #💬│support
User Preferences Question
I am creating a set of workflows that all trigger another summary workflow at the end of theirs using a custom step. Similar to this example. This summary workflow digests for 24 hours and sends an email summarizing everything that has happened. I pass in the workflow name in the payload to the summary workflow. Inside the summary workflow, I want to check the user's email preferences of the given workflow so i can filter out the messages in the email. How can I do this? Can I use the Novu framework? or do I need to use the Novu API SDK?
6 replies
NNovu
Created by Jonathan Licht on 3/21/2025 in #💬│support
Daily digest email
No description
11 replies
NNovu
Created by Jonathan Licht on 3/19/2025 in #💬│support
Scheduled digest question
If I schedule a daily message to go out at 9am, does that message go out at 9am UTC? Or does the message go out at 9am of the subscribers time zone? if it is of the subscribers time zone, what field controls that. is it the locale variable?
15 replies