Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
"Failed to process webhook: Error: No body was received when processing webhook".
app.post(
shopify.config.webhooks.path,
shopify.processWebhooks({ webhookHandlers: GDPRWebhookHandlers })
);
Hi Nam7911,
Having looked into this, I think the developer from this Stack Overflow thread was experiencing a similar issue, and adding `express.text({type: '*/*'})` before `shopify.processWebhooks({ webhookHandlers: GDPRWebhookHandlers })` was able to resolve the issue for them.
You might also be able to find some insights from this readme on setting up webhooks from our shopify-api-js repo too, that will help with troubleshooting and solving this.
Let me know if this works and if not we can dig into this more,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
thank you but I've tried as I mentioned above
Is aboved advice useful ?