# HMAC Webhook Verification Failing - Need Technical Assistance

**URL:** <https://community.shopify.dev/t/hmac-webhook-verification-failing-need-technical-assistance/18871>\
**Category:** Webhooks and Events\
**Tags:** troubleshooting\
**Created:** [July 10, 2025, 11:06am UTC](https://community.shopify.dev/t/hmac-webhook-verification-failing-need-technical-assistance/18871 "2025-07-10T11:06:00Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![JordanFinners](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/jordanfinners/32/6616_2.png) [@JordanFinners](https://community.shopify.dev/u/JordanFinners)\
**Post date:** [July 21, 2025, 10:10am UTC](https://community.shopify.dev/t/hmac-webhook-verification-failing-need-technical-assistance/18871/6 "2025-07-21T10:10:14Z")

</div>

Yeah you’re doing some extra encoding/decoding from the looks of it.  
I would checkout the example provided by the Shopify team. [Hmac doesn't match (python) - #4 by Dave-Shopify](https://community.shopify.dev/t/hmac-doesnt-match-python/11525/4)  
Then just change the method for data to be the `await body()` you have here.  
Also ensure nothing else in fast api is messing with the body, as you want the raw bytes of the request

---

_[View the full topic](https://community.shopify.dev/t/hmac-webhook-verification-failing-need-technical-assistance/18871)._
