Bluedge USA
Bluedge USA
Any update on this?
I got the exact same bug as @omkaark The console.log in the POST handler never gets fired inside the try. - Console log outside of the Try when Shopify Call...
**Solution**: This is happening because one should not use `bodyParser.json()` or `express.json()` on the Shopify Webhook queries... Solution found here: [https://github.com/Shopify/shopify-api-node/issues/167#issuecomment-1174948817](https://github.com/Shopify/shopify-api-node/issues/167#issuecomment-1174948817)
I hit the same issue sometimes. @MichaelEPope How about this simple/efficient fix line 546? `if (actual_body?.error && actual_body.error?.code)`