I receive that error when triggering webhooks, how can I debug that?
It's a laravel app, and the webhooks are activating jobs on that app. In the handle method of each job, I used
header('HTTP/1.0 200 OK');
right at the beginning of the methods, but none of them seem to be working, what am I missing?
It's likely that you're running into the 5-second retry timeout for webhooks. As documented, Shopify waits 5 seconds for a 200 range response before re-sending the webhook to the provided address.
When you set the header of your response, you're not actually returning the response as well, which might be the issue. We recommend that partners first submit a response back to Shopify before processing the request as this can often take longer than the 5-second window. Using threads is one possible solution here.
If this doesn't sound like it could be the reason for your problem, then please provide me with the `X-Request-Id` header sent with the webhook and I can investigate further!
I am getting the same error only for 'create/product' webhook. In app I am already processing the data in background job and returning 200 response immediately. Also i have bypassed the cache for the webhook endpoints from cloudflare. I have also excluded webhook endpoints from cloudflare page rules. What could be the other reasons, I am getting Non 200-level response error.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022