# Invalid JMTE syntax error while parsing ' else ' at location (78:11)....

**URL:** <https://community.hubspot.com/t/invalid-jmte-syntax-error-while-parsing-else-at-location-78-11/15337>\
**Category:** Email Marketing Tool\
**Tags:** template-design\
**Created:** [July 16, 2019, 7:25pm UTC](https://community.hubspot.com/t/invalid-jmte-syntax-error-while-parsing-else-at-location-78-11/15337 "2019-07-16T19:25:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![petersherlock93](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/petersherlock93/32/63542_2.png) [@petersherlock93](https://community.hubspot.com/u/petersherlock93)\
**Post date:** [July 16, 2019, 7:25pm UTC](https://community.hubspot.com/t/invalid-jmte-syntax-error-while-parsing-else-at-location-78-11/15337/1 "2019-07-16T19:25:07Z")

</div>

If you are receiving an error similiar to this when you are trying to Marketing email templates.

Then, make sure to check your source code surrounding your personalized tokens. Make sure each token includes the following: {{contact.first\_name}}.

When I was recieving this error, my token was missing a single “}”.

---

<div class="post-metadata">

**Author:** ![sharonlicari](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sharonlicari/32/101479_2.png) [@sharonlicari](https://community.hubspot.com/u/sharonlicari)\
**Post date:** [July 17, 2019, 10:50am UTC](https://community.hubspot.com/t/invalid-jmte-syntax-error-while-parsing-else-at-location-78-11/15337/2 "2019-07-17T10:50:40Z")

</div>

Hey @petersherlock93

Could you please send me a screenshot with the error? Could you please sure that is not missing one of the brackets in the token or in the custom module?

Thank you

Sharon

---

<div class="post-metadata">

**Author:** ![petersherlock93](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/petersherlock93/32/63542_2.png) [@petersherlock93](https://community.hubspot.com/u/petersherlock93)\
**Post date:** [July 17, 2019, 11:44pm UTC](https://community.hubspot.com/t/invalid-jmte-syntax-error-while-parsing-else-at-location-78-11/15337/3 "2019-07-17T23:44:33Z")

</div>

I’ve resolved the issue.

It was due to missing brackets on a personalized token. I was posting this as a solve to a problem I self trouble shot.

Please read post.

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [July 26, 2019, 6:29pm UTC](https://community.hubspot.com/t/invalid-jmte-syntax-error-while-parsing-else-at-location-78-11/15337/4 "2019-07-26T18:29:52Z")

</div>

Thank you for sharing @petersherlock93!
