I lost my API key in the .env file of my shop-mini, and without it I can’t submit. I tried running npx shop-minis setup, but that also fails because a manifest.json file has already been created.
If you lost your key there is currently no way to recover it - your only way forward is to create a new mini with a different handle and port your changes over there.
Out of interest how did you lose the key? Do you work on any other machines or with any others devs - it might still be where you originally ran setup unless you deleted it for some reason?
I lost becouse i change my michine.
The API Key there are in .env and this is not im my git repo.
Hi @Fabio_Claus !
If you update to the latest CLI version you should be prompted to re-generate the API key if the mini is already set up but the key is missing.


