I created a simple journey to test API events. It looks like this:
As you can see it's a very simple journey. It's supposed to be triggered by an API call, send an email and exit.
It uses a sendable filtered data extension with 5 contacts as its source.
I call the APIs like so:
{
"ContactKey": "contactkey",
"EventDefinitionKey": "APIEvent-58eb5c58-46aa-*********",
"Data": {
"email address": "[email protected]",
"userid": "userid"
}
}
However I get an internal server error as a response:
{
"message": "Internal Server Error",
"errorcode": 0,
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm"
}
Any idea why this might be?
If I don't include the userid and email address attributes in data, I get the following response:
{
"message": "Required Event Data fields are missing: email address, userid",
"errorcode": 30000,
"documentation": ""
}