Webhook Signature Failures After Deploy Traced to Raw Body Handling and Admission Controls
A marketplace webhook signature check can start failing after a deploy, leaving platform events unable to reach the backend. The article attributes this in Express to JSON middleware consuming the raw body before verification, since re-serializing parsed data alters the signed bytes. It recommends capturing the original bytes before parsing, checking the registered signing secret for rotation issues, and rejecting failed verifications with a non-retryable status. The author frames this as a proposed incident drill rather than a documented outage, emphasizing a trade-off between spending limits and refused legitimate traffic. The piece also suggests tracking acceptance and processing as separate objectives, tying verification errors to registration IDs, and avoiding urgent pages from a single invalid request.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in