Error in delivery analysis ‘content htmlContent’ line 19: recipient is not defined

Last update: 2023-05-26



  • Campaign Classic
  • Campaign

The following error occurs during the delivery execution for a recipient:

'content htmlContent' line 19: the recipient is not defined. SCR-160012 JavaScript: error while evaluating script 'content htmlContent'"


This happens when you use a target mapping in a delivery that is different from the incoming data in the delivery activity of a workflow. So suppose you queried the recipient table and passed it to delivery, and in the delivery, you have a custom target mapping, then you will get this error.

Secondly, if you are using a custom target mapping in delivery and it has any personalization block or any column referencing in its content, and you use the recipient object, you will get this error. E.g., if you call or

On this page