Cannot deploy shopify app (webhooks validation errors)


[webhooks]
api_version = "2024-07"

[[webhooks.subscriptions]]
topics = [
"app/uninstalled",
"carts/create",
"carts/update",
"checkouts/create",
"checkouts/update",
"orders/create",
"orders/update",
"products/update"
]
uri = "/webhooks"

For some reason im getting a validation error. Everything seems to be in place and it worked before.

Did shopify upgrade version or something?

Thanks in advance.

The uri must be a full URL including the domain for where your webhook server will be running.
This is because the webhook will be sent from Shopify’s server and they would be unable to send it to a relative URL.