app.toml webhook issue

Solved

app.toml webhook issue

GregJones55
Shopify Partner
16 4 5

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. 

 

GregJones55_0-1719411223671.png

 

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

 

Accepted Solution (1)

GregJones55
Shopify Partner
16 4 5

This is an accepted solution.

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. 

 

View solution in original post

Replies 6 (6)
GregJones55
Shopify Partner
16 4 5

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. 

GregJones55
Shopify Partner
16 4 5

This is an accepted solution.

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. 

 

AhmedH712
Shopify Partner
1 0 2

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

npm install -g @Shopify/cli@latest
BaileyPaserk
Shopify Partner
116 9 33

This worked for me!

Bailey Paserk

topnewyork
Astronaut
1368 165 224

Updating CLI works for me too 

npm install -g @Shopify/cli@latest
Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
xixLabs
Shopify Partner
12 0 1

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' 

oh, just devving for xixLabs.