Forums

Shopify Webhook call throwing 500 error

Hi - I am working on a Shopify App that connects to Shopify Admin API. I created an endpoint that is being called by a Webhook on Shopify's end. It's weird because when the webhook calls the API I usually get a 500 error, but then when the webhook retries the call (that's how Shopify works on its end, if it gets an error response it will retry - 20 times or so - until it gets a 200) I get a 200 (sometimes in the 2nd or 3rd attempt). Now, I believe every call is being done sending the same data so I'm not really sure why I keep getting errors on the first call, then followed by a successful call. Any chance you can help me with this?

Do you see any errors in the server log or error log of your web app corresponding to that behaviour?