Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hey all,
I'm in the process of migrating an app from CLI 2 to CLI 3 and, in the process of troubleshooting another issue, am now triggering a webhook failure when trying to reset the app in CLI 3.
To start, I was previously able to reset the app multiple times. The error began occurring though after I selected "No, don't update URLs" on one of the resets. Now, when I attempt to start the dev environment, the "Update URLs" line is "Not yet configured":
Didn't think this would be much of an issue, but now the resets are throwing a webhook error:
Again, it's important to note that I was previously able to reset the app multiple times - the webhooks I have built in haven't changed so I don't believe that is the source of the issue.
I've tried creating new apps as well, but during that process I get the same error.
That all said, I'm assuming the issue is the webhook doesn't have a URL to send the uninstall request to and, since this is a required step in the reset, can't proceed without it.
If that is the issue, can I clear the "previous dev settings" from the first image? I've cleared Yarn's cache with no luck and I can't find a cache on the Partner's app portal to clear.
Is there any way I can do a clean reset of all dev settings with CLI 3, without deleting my app in the Partners portal?
Solved! Go to the solution
This is an accepted solution.
Thanks for the suggestion SBD, but the issue wasn't with the CLI itself, it was sometime to do with my app and web TOML configurations.
For anyone else trying to debug, the CLI structure documentation was helpful, but it could be more clear. I got more out of reverse engineering the Shopify App template for NodeJS.
Hey @JohnFoxtrot
The CLI team have asked if you can please create an issue here: https://github.com/Shopify/cli
They'll be able to help better there.
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Thanks for the suggestion SBD, but the issue wasn't with the CLI itself, it was sometime to do with my app and web TOML configurations.
For anyone else trying to debug, the CLI structure documentation was helpful, but it could be more clear. I got more out of reverse engineering the Shopify App template for NodeJS.
Good to know, thanks for the update!
Scott | Developer Advocate @ Shopify