Error Handling
There are some risks in using dynamic content. For example, undesirable results can occur if:
The data is not passed as expected or is interrupted
Data is missing
A parameter name is specified incorrectly and not verified correctly in the staging process
In order to minimize this risk, Connect provides two ways to prevent these conditions from occurring:
Use the MS.InvalidContentMsgs System Parameter to specify a string, which, if found in the body of the message, prevents the message from being sent
Have the content generator return the "204 Content Not Found" response
Note: It is not a string but an HTTP response code that is returned by the web server.
Use these measures only as a precaution to catch errors, rather than a method to identify mail recipients. All other precautions should be used to ensure that the dynamic content is created effectively.