I have created shopify app in which I have used webhooks for checkout/update. Webhook is working fine but I am getting this error message.
Your webhook for checkouts/update
at https://www.smsblitz.io/smsblitz/abondoned?shop=smsblitz.myshopify.com&user=iman%5Egemconsultinginc.org is
failing to return a successful response.This webhook has been
attempted 23 times. If your webhook continues to fail, it will be
removed and your application will not receive any more notifications.
Please help me to solve this issue.
Thanks
2
Answers
Your webhook is not working fine. It is failing to respond to Shopify. So until you fix that, Shopify is counting the failures and letting you know, that soon, they will just stop that Webhook, and you’ll have to recreate it.
To solve the issue, POST a webhook to your endpoint and verify it returns a 200 OK.
Initially I had the same problems. Following things could be taken care for getting out of the above issue.
Webhooks created through API are more reliable than the one created manually through the Shopify admin. (Though shopify claims they treat them same.)