Webhook HMAC verification requires the exact request bytes. Frameworks that auto-parse JSON before your handler will break Slack, Telegram secret checks that depend on raw input, and similar schemes.
Checklist
- Express: use express.raw / verify callback before express.json for the webhook route.
- Fastify: prefer content-type aware parsers; keep a raw body buffer.
- Flask/Django: read request.get_data() / body before JSON loads.
- Cloudflare Workers: use request.arrayBuffer() / text() once; clone if needed.
Related
Frequently asked questions
Is this exhaustive?
No. Check your framework docs for the current recommended raw-body pattern.