NovuN
Novuโ€ข14mo ago
Willem

/v1/event/trigger 400 bad request: trigger is missing: actor object

Hello ๐Ÿ‘‹, my api requests towards the /v1/event/trigger endpoint is returning a 400 error code with the message "trigger is missing: actor object". Looking at the documentation, it mentions that actor is not a required object.

Did anything change in regards to certain properties being required for this particular endpoint?


My payload:
{
    "name": "<redacted>",
    "to": [
        {
            "subscriberId": "redacted",
            "data": {
                "companyId": redacted,
                "userId": redacted
            },
            "email": "redacted",
            "firstName": "redacted"
        }
    ],
    "payload": {redacted},
    },
    "overrides": {}


Full response:
{
    "statusCode": 400,
    "timestamp": "2024-11-01T09:27:52.676Z",
    "path": "/v1/events/trigger",
    "message": "Trigger is missing: actor object",
    "error": "Bad Request"
}
Novu
Novu is a full-stack (UI Components, API, and Framework) open source notification infrastructure platform for building, managing, delivering, and monitoring all types of end-user notifications.
Was this page helpful?