> For the complete documentation index, see [llms.txt](https://docs.mailrocket.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mailrocket.io/help-center/troubleshoot-issues/template-mismatch.md).

# Template mismatch

When previewing an email template or sending/scheduling a campaign, Mail Rocket validates the selected template in the background. If any variable in the email template is missing from your contact list, it will display a "Mail Merge Issue - Template Mismatch" warning.

{% hint style="success" %}
If you feel the email template is normal, feel free to continue sending emails.
{% endhint %}

<figure><img src="/files/HGXZbxZhfxSgtL7mLfoz" alt=""><figcaption></figcaption></figure>

### How to fix "Empty variables detected"?

In the above screenshot, empty variable detected is **{{ namp }}.** This means column **"namp"** is missing from your contact list.

The screenshot below shows the initial contact list.

<figure><img src="/files/5NUc6Cox0J5388bhng1y" alt=""><figcaption></figcaption></figure>

Add a column called **"namp"** along with its values as shown in the screenshot below.

<figure><img src="/files/aTJIzpbwrmyB5htIfREB" alt=""><figcaption></figcaption></figure>

After all the columns needed are added, restart Mail Rocket.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mailrocket.io/help-center/troubleshoot-issues/template-mismatch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
