How do I troubleshoot error messages in Targeted Email?
When you encounter an error or warning while creating or sending a Targeted Email, use this reference to understand what the message means and how to fix it.
Errors (must be resolved before sending)
| Error Text | Causes and Resolution |
| Message contains click tracking URLs | You likely pasted content from a previously sent email that includes click tracking links (links that start with “click.”). Replace those URLs with your intended URLs, or use Copy From Existing when creating your email instead of pasting content. |
| Message contains an invalid URL | Check your email content — especially images and links — for any URL that wouldn’t function correctly. In the Drag & Drop editor, this is commonly caused by an image URL that contains “…” . Send a test email and inspect the HTML if you can’t locate the issue, or contact support. |
| An ‘end’ keyword is missing an ‘if’ conditional statement | Your content includes an {{end}} without a matching {{if}} before it. Check for an accidentally deleted {{if}} statement or an extra {{end}}. |
| An ‘elseif’ conditional statement is missing an ‘if’ or ‘end’ keyword | Your {{elseif}} needs a {{if …}} before it and an {{end}} after it. |
| An ‘if’ conditional statement is missing an ‘end’ keyword | Your {{if}} is missing a closing {{end}}. Check your content for the missing end statement. |
| A merge field is missing the end curly braces (‘}}’) | This happens if you typed over a merge field, accidentally deleted the closing braces, or inserted line breaks inside a merge field. |
| Merge field contains an unexpected character | A character like punctuation or a space appears inside a merge field where it shouldn’t. Replace the content inside the merge field with the expected value. Example: {{Disclaimer}} should not read {{Paid for By Pepper for the People}}. |
| A calculation cannot be performed on ‘{0}’ because it is not a number | This can happen if you used made-up merge field syntax or merge field names that start with digits. |
| A calculation cannot be performed on ‘{0}’ because it is not a number or is a numeric field that may be empty | When using contribution fields: you may need to nest the field inside an {{if}} or use {{zero_if_null}}. Also caused by using incorrect merge field names (e.g., changing {{FirstName}} to {{First-Name}}). EATools and older merge field syntax are not compatible with Targeted Email. |
| There is a syntax error near ‘{0}’ | Look for: a partial merge tag (opening or closing curly braces without the other), spaces in merge field names, nested merge fields, or missing closing parentheses on macros. |
| There is an unexpected character near ‘{0}’ | Look for: markup inside a merge tag, smart quotes in merge field names, random single or double quotes in merge field names, or encoded spaces inside merge fields. |
Warnings (can send with these, but review them first)
| Warning Text | Causes and Resolution |
| Per our Terms of Service and based on CAN-SPAM requirements, a legitimate physical address should be visible to the email recipient. | The {{OrganizationAddress}} merge field is not present. If you’re including your address without the merge field, or your email is exempt from this requirement, you can send. |
| [Merge Field] is present multiple times | The merge field appears more than once in your HTML or plain text — possibly due to a theme or reusable. Remove the unintended instance or ignore if intentional. |
| Your email is over 102,000 characters. Some email programs may clip your content. | Simplify your content. In the Drag & Drop editor, use fewer rows and columns. |
| SPF/DKIM Invalid | Your SPF and DKIM records are not correctly set up. See How do I configure my DKIM or SPF for Email Deliverability? |
| Using a Personal Email | You’re using a personal domain (@gmail.com, @yahoo.com, etc.) as your From Address. Purchase your own domain for better deliverability. |
Not quite what you were searching for?
- Navigate back to the Email Campaigns & Management Resource Index.
How do I fix a Targeted Email error in EveryAction? | What does message contains click tracking URLs mean in Targeted Email? | How do I fix a missing end keyword error in EveryAction Targeted Email? | How do I fix an invalid URL error in Targeted Email? | What does SPF DKIM Invalid warning mean in EveryAction? | How do I fix a merge field syntax error in Targeted Email? | What does the email over 102000 characters warning mean in EveryAction?
