Documentation Menu

Debug a Standard Webhooks signature failure

The v1 HMAC signature covers the webhook ID, the timestamp, and the original request body, joined with periods. Parsing and re-serializing JSON can change the bytes and invalidate a correct signature.

Try the synthetic example

Install Hookmetry MCP v0.1.5 locally, then ask your editor in demo mode to diagnose demo-standard-webhooks and identify the failed step. The tool describes a synthetic signature mismatch caused by changing the JSON bytes.

Test your local receiver

  1. Ask Hookmetry MCP to export a regression test with the standard-webhooks profile. Save the returned file as standard-webhooks-webhook.test.cjs.
  2. Set HOOKMETRY_TEST_URL to your loopback receiver and HOOKMETRY_STANDARD_WEBHOOKS_TEST_SECRET to the same synthetic whsec_ key configured on that receiver.
  3. Run node --test standard-webhooks-webhook.test.cjs.

The export sends a fresh v1 signature to a receiver on your machine. Hookmetry’s temporary capture can report the signing headers it sees. Use the local receiver to verify the signature.

MCP setupn8n walkthroughStandard Webhooks specification