Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Personalization block error sending email

Level 3
Level 3


I see this issue, while I ise a personalization block as part of URL component in email delivery:

Error while compiling script 'content htmlContent' line 72: syntax error (line='}\ ' token='}\ '). SCR-160032 JavaScript: error while compiling script 'content htmlContent'. JST-310007 Unable to compile script (content htmlContent).


The short/basic  version of personalization block is:

<%if ( == "Australia"||"United Kingdom"){%><><%}


Within the delivery I am trying to use it part of URL..<%@ include view='trpPB' %>/en/home.html

The compilation error doesnt appear while doing preview in Preview tab of delivery but rather after delivery has executed, and it goes in retry pending until,validity ends.

Any thoughts?


0 Replies
Level 3
Level 3


This probably won't fix your issue. But I think there's an issue with your IF statement.

It should be: <%if ( == "Australia" || == "United Kingdom"){%>