Cannot push new version of Script using Shopify CLI

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.0.1
  • shopify commands run cleanly
  • I have many existing and new apps in my Partner Dashboard
  • running "shopify whoami" shows I am logged into a store on behalf of a partner organization
  • when I followed the tutorial for publishing a post-purchase checkout extension, that seemed to work fine

 

Has anyone been able to push a script successfully?

 

Playwright | Create Shopify Scripts without writing code | https://playwrightapp.com
- Was my reply helpful? Please Like and Accept Solution.
- Need help with a custom Shopify script? Email me at matthew@playwrightapp.com

nchoraria
New Member
4 0 0

Hi,

I am also facing the same issue.

Did you find any solution?

0 Likes

@nchoraria, yes I was able to get it working!

It turns out you need a few things:

  • need to email scripts-beta@shopify.com and be accepted
  • Shopify will turn on Scripts V2 for your specific partner account AND specific stores 
  • be sure you request to activate a store that uses Storefront 2.0 (easiest thing to do is just create a new dev store)
  • after your partner org and stores are enabled, you need to create a CUSTOM app (doesn’t work with public apps yet)
  • then make sure you have the latest version of Shopify CLI (2.1.0 as if this post)
  • then the tutorial should work (I don’t think you need the last “shopify script enable” command anymore)

 

Apologies if that’s a bit all over the place. Typing from my phone. 

Let me know if you can’t get it working. 

Playwright | Create Shopify Scripts without writing code | https://playwrightapp.com
- Was my reply helpful? Please Like and Accept Solution.
- Need help with a custom Shopify script? Email me at matthew@playwrightapp.com

0 Likes
nchoraria
New Member
4 0 0

We have sent email Twice but not received any Acceptance from Shopify. 

We have Mentioned our Partner ID and also Store name for the Approval. 

 

Any specific timeline it took to get approval.  ?

0 Likes