Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello!
I'm having trouble with webhooks. Seems like Shopify is not receiving response 200 from me anytime. I've even removed all code and just response to a webhook trigger and it's still the same, Shopify retries sending the webhook.
I'm using everything same as it is in Node.js example app. What could be the issue? How should the response really look like (code) when I have multiple webhook subscriptions?
Thank you!
Hi Realitems,
Can you post the code you're using so I can have a look?
If you're using the React/Node example, your code should look like this:
router.post("WEB_HOOK_URL", ctx => { ctx.res.statusCode = 200; });
Hello there, thank you for your reply!
This is exactly how it's done, but for some reason Shopify does not receive response 200
Maybe it's not receiving it in wait time period, but I've tested with only that line and I can see receiving the same trigger again.