Why Does Parsing Jinja Template Format in the Personalization Preview Fail?

Problem 

When attempting to use the personalization preview with an incorrect Jinja template format, the following error is displayed:

Error in parsing jinja template format. Error expected token ',', got 'integer'.

Untitled design (23).png

Solution

This error occurs for the following reasons:

  1. String operators are applied to the integer data type values in the Jinja code.
  2. When creating a campaign, a double quotation mark is used instead of two single quotation marks in the Jinja code.

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?