SendGrid · api · fg-0414

SendGrid dynamic template placeholders render blank when the code uses substitutions

If you see {{first_name}} renders empty in the delivered email, the cause and the fix for SendGrid are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
{{first_name}} renders empty in the delivered email-name- or %name% tags appear literallyLegacy template code moved to a d- template stops filling values
Cause
Dynamic templates read only dynamic_template_data, and substitutions are documented as not to be combined with them. Code written for legacy templates still sends substitutions.
Fix
Move every value into dynamic_template_data on each personalization and use Handlebars syntax in the template.
Apply
personalizations: [{ to: [{ email }], dynamic_template_data: { first_name: 'Ana' } }], template_id: 'd-xxxxxxxx'
Affected
SendGrid v3 Mail Send, dynamic templates (d- ids), as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun