Web hook handler needs to return a success response #58
AminRafaey
started this conversation in
General
Replies: 1 comment 1 reply
-
If you want I can create a PR for that. If I am not wrong this function is not returning anything and Shopify will hit our webhook 19 times to make sure we have received a request on our server successfully. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @kinngh, Shopify has a rule that if your server doesn't return a response or return an error. Shopify will keep hitting your provided URL for webhook. So in the mentioned function shouldn't we return
res.status(200).send()
?shopify-nextjs-prisma-app/utils/webhooks/app_uninstalled.js
Line 10 in 21dcce9
Beta Was this translation helpful? Give feedback.
All reactions