Error Guide

Error: Mandrill Merge Vars Not Working

What's Causing This Error

The cause for the Mandrill merge variables not working is possible because of an issue with the nesting.

Solution - Here's How To Resolve It

You have to make sure the variables are nested in the message struct for it to work. Given below is an example of how it is done.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 var message = { to: "sample@gmail.com", mandrillOptions: { template_name: 'template1', template_content: [ ], message: { "merge": true, "merge_language": "handlebars", "global_merge_vars": [{ "name": "fname", "content": "Sample" }, { "name": "email", "content": "sample@gmail.com" } ] } } }};

Other Common Mandrill Errors (and Solutions)

View all errors

Multichannel Notifications Platform for SaaS

Products

Platform

Integrations

Customers

Blog

API Status

Subprocessors


© 2026 Courier. All rights reserved.