Willem
Willem
NNovu
Created by Willem on 11/1/2024 in #💬│support
/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": {}
{
"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"
}
{
"statusCode": 400,
"timestamp": "2024-11-01T09:27:52.676Z",
"path": "/v1/events/trigger",
"message": "Trigger is missing: actor object",
"error": "Bad Request"
}
13 replies