N
Novu3w ago
Nitish

seen

I have created a workflow for push notification with delay of 1 min in between two notification. When I trigger this workflow for subscriber first notification is sent to user then I am getting below error.
{
"url": "https://api.novu.co/v1/environments/676bbaccd42d607eae6bad68/bridge",
"statusCode": 400,
"message": "Workflow with id: `new-user-login-week-notification` has an invalid state. Step with id: `push-step` has invalid result. Please provide the correct step result.",
"code": "ExecutionStateResultInvalidError",
"data": [
{
"path": "",
"message": "must have required property 'seen'"
}
]
}
{
"url": "https://api.novu.co/v1/environments/676bbaccd42d607eae6bad68/bridge",
"statusCode": 400,
"message": "Workflow with id: `new-user-login-week-notification` has an invalid state. Step with id: `push-step` has invalid result. Please provide the correct step result.",
"code": "ExecutionStateResultInvalidError",
"data": [
{
"path": "",
"message": "must have required property 'seen'"
}
]
}
Trying this from Novu dashboard. https://dashboard-v2.novu.co/ Let me know if any additional details required.
Novu Cloud Dashboard
Novu Cloud Dashboard
No description
No description
7 Replies
Pawan Jain
Pawan Jain3w ago
@Nitish Is this workflow created from UI or @novu/framework ?
Nitish
NitishOP3w ago
UI
Pawan Jain
Pawan Jain3w ago
@Nitish I am able to reproduce the issue. Shared with the team. I will keep you updated on the fix status
Nitish
NitishOP3w ago
Thanks, Is this issue not present if I create workflow from @novu/framework
Pawan Jain
Pawan Jain3w ago
This issue does not exist with @novu/framework workflows
Nitish
NitishOP3w ago
Also i am using latest python sdk, which class I need to use to create workflow programatically from python. The workflow api is not getting used in the SDK.
Novu_Bot
Novu_Bot3w ago
@Nitish, you just advanced to level 1!

Did you find this page helpful?