Shopify / shopify-app-template-node

MIT License
867 stars 391 forks source link

Shopify Webhook Trigger Issue - GDPR #1220

Open dani-sanomads opened 1 year ago

dani-sanomads commented 1 year ago

Issue summary

I'm trying to trigger the webhook for gdpr using shopify cli and using the dashboard->customer but it's not working properly. I'm not receiving any webhook call using the customer dashboard. But using the shopify webhook trigger command I'm getting the request from shopify but it's not sending me the right request params like {apiVersion: , domain: , topic: , webhookId: }

2023-01-09 06:35:32 | backend    | [shopify-api/INFO] Processing webhook request | {apiVersion: , domain: , topic: , webhookId: }
2023-01-09 06:35:32 | backend    | [shopify-app/ERROR] Failed to process webhook: Error: Missing one or more of the required HTTP headers to process webhooks: [X-Shopify-API-Version]

Expected behavior

It should work properly on the GDPR requests.

Looks like something wrong with the GDPR requests or maybe an issue with the current package.

yadsgroup commented 1 year ago

Same here. Any news on that issue ?

dani-sanomads commented 1 year ago

No, not yet.

fonya2014 commented 1 year ago

Hello guys! Have you added customer scopes to your app?

mkevinosullivan commented 1 year ago

Please provide the precise steps to reproduce the issue.

tiimgreen commented 8 months ago

Any updates on this? Just started getting this issue