Webhook cannot be deployed (Validation error - Unexpected keys were found)

I was encountered with this error when I tried update my webhooks via “shopify app deploy”.

I deployed this exact same file 2 months ago with the webhook settings below :


[webhooks]
api_version = "2024-04"

[[webhooks.subscriptions]]
topics = [ "app_subscriptions/update", "app/uninstalled", "shop/update" ]
uri = "https://<my_domain>/api/webhooks"

[[webhooks.subscriptions]]
uri = "https://<my_domain>/api/webhooks"
compliance_topics = [ "customers/data_request", "customers/redact", "shop/redact" ]

The previous deployment works but things just start failing now. Did Shopify changed something recently? Please help me. Thank you very much.

2 Likes

appreciate any responses!