Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to authenticate #4876

Open
2 tasks done
chenrupo opened this issue Nov 19, 2024 · 7 comments
Open
2 tasks done

[Bug]: Unable to authenticate #4876

chenrupo opened this issue Nov 19, 2024 · 7 comments
Labels
Area: @shopify/theme @shopify/theme package issues State: Waiting for feedback Type: Bug Something isn't working

Comments

@chenrupo
Copy link

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Other

Expected behavior

I should have clicked the link, logged in as shop owner, verified the code, and been granted access in the CLI

Actual behavior

I clicked the login link, logged in as owner, verified the code, and got an error in the CLI

Verbose output

error

You are not authorized to use the CLI to develop in the provided store.          
                                                                                   
You can't use Shopify CLI with development stores if you only have Partner       
staff member access. If you want to use Shopify CLI to work on a development     
store, then you should be the store owner or create a staff account on the       
store.                                                                           
                                                                                 
If you're the store owner, then you need to log in to the store directly using   
the store URL at least once before you log in using Shopify CLI.Logging in to    
the Shopify admin directly connects the development store with your Shopify      
login.

Reproduction steps

  1. Run command shopify theme push --store storename
  2. Press any key to login
  3. login as shop owner
  4. Return to terminal

Operating System

MacOs Sonoma 14.4.1

Shopify CLI version (check your project's package.json if you're not sure)

3.70.0

Shell

bash

Node version (run node -v if you're not sure)

22.9.0

What language and version are you using in your application?

No response

@chenrupo chenrupo added the Type: Bug Something isn't working label Nov 19, 2024
@chenrupo
Copy link
Author

Note: I was directed here by shopify support, who elevated the issue up two tiers and eventually told me to create an issue here.

@arnoldski
Copy link

arnoldski commented Nov 20, 2024

I'm having the same issue...
Is it working again on your side @chenrupo ?

@chenrupo
Copy link
Author

@arnoldski No, I'm still having this issue. Shopify support assured me that they were working on it, for whatever that's worth! Hoping this gets resolved soon.

@mgmanzella
Copy link
Contributor

👋 can you share the verbose output of the command after running it? we need more information to debug -- thanks in advance

@chenrupo
Copy link
Author

@mgmanzella verbose output.txt
thanks!

@lukeh-shopify
Copy link
Contributor

@mgmanzella verbose output.txt thanks!

Hi @chenrupo - from the logs it looks like you are trying to access mystore.myshopify.com. Is that your correct store name? Please ensure the store provided with the --store flag matches the store that you are logging into via the browser during the authentication step.

@chenrupo
Copy link
Author

@lukeh-shopify Nope, I changed the shop name in the logs. The shop name I am using in the command is the same as the shopname I am logging into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues State: Waiting for feedback Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants