I have previously created a Send Definition using the Transactional Send API endpoint, but I realized after creating the definition that createJourney
wasn't set to true.
I am trying to update the definition using this endpoint, and using the following payload: URL (PATCH): /messaging/v1/email/definitions/AccountTriggerv1
{
"content": {
"customerKey": "371f6ba4-db9d-4114-a7f9-XXXXXX"
},
"options": {
"createJourney": true
},
"subscriptions": {
"list": "All Subscribers - XXXX",
"dataExtension": "2814D4EF-FD23-4FC2-A95C-XXXXXX",
"autoAddSubscriber": true,
"updateSubscriber": true
}
}
The is what I get back:
{
"requestId": "61ce8c34-5f47-4461-a288-XXXXXXX",
"name": "Account Trigger v1",
"definitionKey": "AccountTriggerv1",
"description": "Account Trigger v1",
"classification": "XXX",
"status": "Active",
"createdDate": "2020-11-19T07:35:00",
"modifiedDate": "2020-12-03T10:57:00",
"content": {
"customerKey": "371f6ba4-db9d-4114-a7f9-XXXXX"
},
"subscriptions": {
"dataExtension": "2814D4EF-FD23-4FC2-A95C-XXXXXXX",
"list": "All Subscribers - 10228",
"autoAddSubscriber": true,
"updateSubscriber": true
},
"options": {
"trackLinks": true
},
"journey": {
"status": "Error",
"message": "The Transactional Journey failed to update. Please retry via a PATCH request or contact our help desk for further assistance."
}
}
The update call was a PATCH request so I'm not sure why it's failing. Can someone advise what to do? (without having to reach out to Salesforce)