Cannot push new version of Script using Shopify CLI

nchoraria
Shopify Partner
6 0 0

Hi, 

I am following this example: https://shopify.dev/apps/checkout/scripts/shipping-changes/building-a-shipping-script

 

When running the command "shopify script push", I get the following result:

Partner organization [MY PARTNER NAME] ([MY PARTNER ID]).
✗ Error
Couldn't push script to app. You don't have any apps in your Partner Dashboard.

 

Some context:

  • I have Shopify CLI version 2.1.0
  • shopify commands run cleanly
  • running "shopify whoami" shows I am logged into a store on behalf of a partner organization
  • I tried to use the shopify owner login credentials as well as staff login as well but both of them are getting the same error

 

Replies 3 (3)

JacksonHong
Shopify Staff (Retired)
2 0 0

Hello,

Do you have any "custom" apps created in your partners dashboard? Or are they all "public" ones? For this `shopify script push` command to work, you need to have at least 1 custom app created.

To learn more visit the Shopify Help Center or the Community Blog.

nchoraria
Shopify Partner
6 0 0

Hi @JacksonHong,

 

I have 3 custom apps installed on the store. I created a new custom app and tried to push the script on the newly created custom app but was getting the same error. I did not modify anything on the script which was given as an example on the Shopify Documentation. It was just shopify script create - shopify script push and the error appears.

Let me know what should be done now.?

JacksonHong
Shopify Staff (Retired)
2 0 0

Everything listed here is good advice to try first if you haven't https://community.shopify.com/c/Shopify-APIs-SDKs/Cannot-push-new-version-of-Script-using-Shopify-CL...

To learn more visit the Shopify Help Center or the Community Blog.