I have created a Triggered send definition under trigger sends linked with static email and also linked a data extension based on triggered send template.
[
{
"From": {
"Address": "[email protected]",
"Name": "No reply"
},
"To": {
"Address": "[email protected]",
"SubscriberKey": "[email protected]"
},
"Options": {
"RequestType": "SYNC"
}
} ]
Am hitting the below end point for triggered send: https://host.rest.marketingcloudapis.com/messaging/v1/messageDefinitionSends/key:externalkey/send
Am getting an error like
{
"message": "Problem initating message send during deserialization of JSON payload.",
"errorcode": 10004,
"documentation": ""
}
Please help
Invalid Message Format - Serialization error, please ensure the body has balanced braces and brackets
. (ref: developer.salesforce.com/docs/…) This means that likely your JSON is malformed. I would put it through a linter (jsonlint.com) to find the error.