app.toml webhook issue

Anyone know how to resolve this error when running shopify app dev on a newly generated app? All I did was init the app via the cli, I didn’t touch anything in any of the generated files.

I can’t find any information on this issue and just wiping the webhooks section creates an infinite error loop issue later.

1 Like
  1. There’s only a webhooks.jsx file, tried deleting it, didn’t work.
  2. I’ve tried this numerous times, same error every time.
  3. There is no shopify.app.webhooks file nor a .shopify directory that I can see.
  4. When I tried running “shopify app reset” it said “There is no such command. Did you mean, shopify app release?”

To reiterate, this is literally just a blank npm init created app.

You can delete the object, let the webhook error out on initial creation and then everything seems to work fine moving forward. At least for now.

1 Like

For anyone running into this issue, update your shopify CLI using

npm install -g /cli@latest
2 Likes

This worked for me!

Updating CLI works for me too

npm install -g /cli@latest

Is the above case-sensitive? Capital “S” in Shopify threw an error, where small “s” worked. However, it didn’t resolve my shopify.app.toml error which is as below:

Validation errors in shopify.app.toml: │

[pos]: Unrecognized key(s) in object: ‘network_access’