App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi All,
I'm a newbie Shopify app dev. How do i update app handle from TOML file? In this doc https://shopify.dev/docs/apps/tools/cli/configuration#global mentioned an option "handle" at the same place with "name, client_id" but when I try add this option the result when run "npm run deploy" as below:
error
│ │
│ Fix a schema error in shopify.app.toml: │
│ [ │
│ { │
│ "code": "unrecognized_keys", │
│ "keys": [ │
│ "handle" │
│ ], │
│ "path": [], │
│ "message": "Unrecognized key(s) in object: 'handle'" │
│ } │
│ ]
So, What schema structure for this option "handle" is correct?
We are facing the same problem.
Also, we tested with a very random 'handle' value, to verify that no other app has the same handle, but the error is the same.
Hi there, what version of Shopify CLI are you using? You may need to upgrade to the latest version.
To learn more visit the Shopify Help Center or the Community Blog.
We were running 3.51.0, after upgrade to the last version, 3.56.3, the handle can be changed.
Thank you!
Hi @jessehoek
I am still not able to update our app handle.
I have tried updating the the newest version and some of the other recent CLI versions and I still get the error of "message": "Unrecognized key(s) in object: 'handle'".
I am currently trying to use v3.63.2
When I tried to run the below command after I updated the Shopify CLI to the current latest version - 3.66.1:
shopify app generate extension
I still got the error with the message "Unrecognized key(s) in object: 'webhooks'".
However, I managed to solve it by simply commenting out webhooks section first, and then run the command above again.
Same even I am unable to fix it
It looks like handle only gets updated when you release a new version (after switching configs). I switched the handle, ran my production deployment, and the handle updated
With the Shopify CLI: