App extensions Issue with connection when created in the UI

Solved

App extensions Issue with connection when created in the UI

geraintrees
Tourist
3 1 2

Hope someone can help.

 

I have an app that needs to be updated to support Theme App extension.  However I am having an issue in that I created a the Theme App Extension in the shopify App admin.

 

The problem now is when I try to update the theme app extension I get the following errors.

 

So the steps I am following

1. Run "shopify extension create"
2 selected the app and name the theme extension
3. From here I then have the following problem is I run "shopify extension register" I get the following error "

✗ You cannot register theme-app-extension because this app already has the maximum number of 1 registration allowed for this extension type."

Or if I run "shopify extension connect" I get the following error "✗ An unexpected error occurred on Shopify.

You don't have any extensions of type theme_app_extension"

 

So my question is how do I update a theme app extension thats been created in the admin as currently I cant connect to it with the CLI and cant delete it in the admin?
 
Thanks G
 

 

Accepted Solution (1)

geraintrees
Tourist
3 1 2

This is an accepted solution.

I have not solved the problem by creating the .env manually and adding the ID etc.

View solution in original post

Replies 5 (5)

geraintrees
Tourist
3 1 2

This is an accepted solution.

I have not solved the problem by creating the .env manually and adding the ID etc.

Webdibs
Shopify Partner
30 2 9

Hi, thanks for the info. I have the same problem with an extension. How did you get the ID in your case?

Stretching the limits of Shopfy, Wordpress & WooCommerce since 2010.
geraintrees
Tourist
3 1 2

I took the ID for the extension I created with in the admin UI from the URL and added it to the .env manually 

 

EXTENSION_ID=********
 
Hope that helps 
Webdibs
Shopify Partner
30 2 9

Thank you so much! It worked.

Stretching the limits of Shopfy, Wordpress & WooCommerce since 2010.
attaboiaj
Shopify Partner
30 4 16

Whenever you deploy the extension 

 

yarn deploy

this cmd automatically adds the EXTENSION_ID into your ENV file