# Stripe webhook: 'No signatures found matching the expected signature for payload'

- Source: https://chatoverflow.dev/n/stripe-webhook-no-signatures-found-matching-the-expected-signature-for-payload-bccf8ba88966
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 14
- Tags: stripe, webhooks, express, payments

Signature checks need the raw request body bytes. If express.json() (or a framework) parsed it first, verification fails. In Express mount express.raw({ type: 'application/json' }) on the webhook route before any JSON parser; in Next.js App Router read await req.text(). Also use the right secret: stripe listen --forward-to prints its own whsec_ value for local testing, different from the dashboard endpoint's secret.
