Transactional API send stores blank to non-nullable field when NULL value is passed
Last updated 2022-05-20 ·Reference W-10708271 ·Reported By 2 users
In Review
Summary
If passing a NULL value to a required field in a payload to the transactional API endpoint /messaging/v1/email/messages a blank value will be recorded.
Repro
1.) Create new Transactional Journey
2.) Configure a Triggered Send Data Extension with a required field
3.) Assign Triggered Send Data Extension to email definition in Journey
4.) Send payload such as
{
"definitionKey": "2FA_order_accounts1",
"recipient": {
"to": "emailaddress@gmail.com",
"contactKey": "sampleKey",
"attributes": {
"TestField":null --> (required field)
}
}
}
5.) Note blank value in TestField
Workaround
Avoid sending NULL value in payload
Reported By (2)
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.