- 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