SendGrid · api · fg-0420

SendGrid returns 200 instead of 202 and no email is delivered

If you see Mail Send responds 200 OK, not 202 Accepted, the cause and the fix for SendGrid are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Mail Send responds 200 OK, not 202 AcceptedNothing in Email Activity and no Event Webhook events400 The sandbox mode enable param should be a boolean value
Cause
With mail_settings.sandbox_mode.enable true, SendGrid only validates the request and returns 200, and the message is never delivered. A flag left on from tests, or a string true, causes silent non-delivery or a 400.
Fix
Drive sandbox mode from an explicit test flag, send a real boolean, and treat a 200 from Mail Send in production as an alarm.
Apply
mail_settings: { sandbox_mode: { enable: process.env.NODE_ENV === 'test' } } // expect 202 in production
Affected
SendGrid v3 Mail Send, 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