


Dear All,
I am unable to send delivery with personalization block. The error message says "Error while compiling script 'content htmlContent' line 117: targetData is not defined. SCR-160012 Javascript: error while evaluating script 'content htmlContent'"
Please help!
Thank you and best,
Enikő
hi @enikopittlik ,
This error means you have defined some personalization block in your delivery content with <%=targetData.XXX%> however the value for this targetData is not being passed from your targeting workflow.
So, you need to check the source of your delivery content find all the personalization blocks you have defined with <%=targetData.XXXX%> and then if the values are added to addiontal Data of your targeting wkf.
Br,
Shubham
hi @enikopittlik ,
This error means you have defined some personalization block in your delivery content with <%=targetData.XXX%> however the value for this targetData is not being passed from your targeting workflow.
So, you need to check the source of your delivery content find all the personalization blocks you have defined with <%=targetData.XXXX%> and then if the values are added to addiontal Data of your targeting wkf.
Br,
Shubham
Thank you very much, it works! 😊 I wanted to test the e-mail without data, just to check the links, but it does not seem to work that way anymore. Thank you again, have a nice evening!
Hi @enikopittlik ,
There might be some targetData defined in email/sms body, but that target data is not present in incoming transition (temp table) data.
To troubleshoot, search for the keyword 'targetData' in Email/sms body, note it down, and check whether you're able to see it in below
If you're unable to find here, add those fields as additional data in query/enrichment.