A delivery failed verification; answer it with 401 or 400 and do not process it.
401
400
try { verifyWebhook({ body, headers, keys });} catch (err) { if (err instanceof WebhookVerificationError) return reply(401, err.code); throw err;} Copy
try { verifyWebhook({ body, headers, keys });} catch (err) { if (err instanceof WebhookVerificationError) return reply(401, err.code); throw err;}
Creates the error.
The failed step.
A text naming the step, never a value of the request.
Readonly
A delivery failed verification; answer it with
401or400and do not process it.Example