Expand my Community achievements bar.

Error while evaluating document

Avatar

Level 2

Hey everyone, i am getting this message while making a preview of a mail:

JST-310000 Error while compiling script 'content textContent' line 12: recipient is not defined.
SCR-160012 Javascript: error while evaluating script 'content textContent'.

 

We are using a target mapping to a custom map: Company key persons (crmcx:companyKeyPerson) 

which we also have in the flow, if we change the target mapping to recipient in the delivery if works.

 

My problem is, I can't seem to find where this call for the recipient is anywhere in the code / setup of the delivery. I used the edit source xml and removed all recipient.x and it still gives me the error.

 

I can't seem to find this "script" content textContent so i cant see whats on line 12.

Anyone know how to deal with this problems ? I can share more about the setup if need be.

 

Hope you wonderful people can help me out ! 

 

Kind regards 

Robert.

2 Replies

Avatar

Employee Advisor

Hi Robert. Check out the thread below. This is a personalization issue so without reviewing the code specifically, it is going to be difficult to give more precise troubleshooting steps.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/what-does-error-me...

 

Regards,

Craig

Avatar

Community Advisor

Hi @RobertOl1 ,

Check in the 'Text' content tab as well.

ParthaSarathy_0-1733417396471.png

Make sure the upstream population of delivery has the same targeting schema as specified in target mapping. If so, try creating a new delivery and check whether you're facing the same error again in the workflow.