Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
34.01k
stars
3.47k
forks
source link
🐛 Bug Report: Tenant not automatically created on event trigger API call #5739
Open
alexanderhofstaetter opened 2 months ago
📜 Description
The even trigger API docs says:
tenant: It is used to specify a tenant context during trigger event. If a new tenant object is provided, we will create a new tenant.
see: https://docs.novu.co/api-reference/events/trigger-event
however, when sending the tenant object, the tenants does not gets created, instead we receive: "status=no_tenant_found"
I have found this thread: https://www.answeroverflow.com/m/1168662266783207435
👟 Reproduction steps
send API request:
you wil receive an error
👍 Expected behavior
A tenant gets automatically created
👎 Actual Behavior with Screenshots
API returns:
{"data":{"acknowledged":true,"status":"no_tenant_found"}}%
Novu version
selfhosted ghcr.io/novuhq/novu/widget:0.24.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None