Resend · api · fg-0412

Resend webhook verification throws even though the signing secret is correct

If you see resend.webhooks.verify throws on every event, the cause and the fix for Resend are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
resend.webhooks.verify throws on every eventSvix verify fails with No matching signature foundWorks with the raw curl payload, fails inside the framework route
Cause
The svix-signature header signs the exact raw body, and frameworks that parse JSON and re-serialize it change the bytes.
Fix
Read the body as text before any JSON parser and pass that string with the svix-id, svix-timestamp, and svix-signature headers.
Apply
const payload = await req.text(); const event = resend.webhooks.verify({ payload, headers: { id: req.headers.get('svix-id'), timestamp: req.headers.get('svix-timestamp'), signature: req.headers.get('svix-signature') }, webhookSecret: WEBHOOK_SECRET });
Affected
Resend webhooks (Svix signed), Next.js route handlers and Express with express.json(), 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