[SalesForce] Receiving parse error for landing page HTML Body

When trying to preview one of our landing pages, we are running into the error below. I can add HTML content if necessary.

An unexpected error has occurred! Error Message: An unrecognized
expression appears in a script block. Script Expression: EmailAddress
MemberID: 7001394 JobID: 0 Description: An unexpected error occurred
during the execution of the page.

line 0, column 0 Exception Info: An error occurred when attempting
to parse HtmlEmailBody content for HTML content. MemberID: 7001394
JobID: 0 ListID: 0

Content Begins With: <!-- ET Logic -->
%%[ 
/* ExactTarget AMPscript */
@ActionDate, @ActionDateTime

SET @ActionDat

ExactTarget.OMM.InvalidScriptException: The SET variable value
expresion is invalid. See inner exception for detail. Script: set
@EmailAddress = EmailAddress Variable Name: @EmailAddress Index:
346 ListID: 0 Source: OMMCommon

Best Answer

You need the VAR keyword:

VAR @ActionDate, @ActionDateTime
Related Topic