You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ App configuration is not valid
│ Validation errors in shopify.app.toml:
│
│ • []: Unrecognized key(s) in object: 'webhooks'
Removing the shopify.app.toml and starting the dev server will fix the setup, however trying to reinsert the webhooks subscriptions will result in another error
App configuration is not valid
Validation errors in shopify.app.toml:
• [webhooks.subscriptions.0.uri]: URI isn't correct URI format of https://, pubsub://{project}:topic or Eventbridge ARN
# Handled by: /app/routes/webhooks.app.uninstalled.tsx
[[webhooks.subscriptions]]
uri = "/webhooks/app/uninstalled"topics = ["app/uninstalled"]
Adding the ngrok prefix seems to make dev server start, but the routes are not updated the toml config, and no webhooks are received.
We're getting started migrating from the now deprecated node-js / react setup onto the Remix setup.
Following the setup https://shopify.dev/docs/apps/build/scaffold-app, we immediately run into issues the scaffolding setup with a fresh app
Removing the
shopify.app.toml
and starting the dev server will fix the setup, however trying to reinsert the webhooks subscriptions will result in another errorAdding the ngrok prefix seems to make dev server start, but the routes are not updated the toml config, and no webhooks are received.
the README references this file, which has been removed
https://github.com/Shopify/shopify-app-template-remix/blob/main/app/routes/webhooks.tsx
The documentation page does still reference this file however
https://shopify.dev/docs/api/shopify-app-remix/v1/guide-webhooks
What is the correct way of registering webhooks, at this time?
The text was updated successfully, but these errors were encountered: