Re: Facing issues with Shopify CLI 3 login?

Facing issues with Shopify CLI 3 login?

timuratavaliev
Visitor
2 0 0

Hello!
I have a problem with logging to my Shopify store via CLI (Current Shopify CLI version: 3.44.1);

For some reason, for some reason, they are trying to authorize me in the old store where I worked before.
Although I have done "shopify auth logout" many times.

Here are the steps I took.
first did shopify auth logout, after which I received a success response:
Success! Logged out from Shopify.

Then did
shopify theme list
After that, he chose the desired account linked to the new store.

Before that, I also logged out in the browser from the accounts of the previous store. But still, when I try to log into the partner's account for a new store, a message appears stating that this one is not authorized to work with the previous store, although I logged out of it

The quieter you become, the more you are able to hear
Replies 3 (3)

Brandon-Flexi
Shopify Partner
10 0 6

I'm having this same issue as well! I'm not able to log out of my partner account...

timuratavaliev
Visitor
2 0 0

Hi!
I found a solution, you must first log out of the current store, and then specifically specify the store you are trying to connect to.
I do not know why and where it stores information about the previous store. it is better to indicate the name of the store each time if you have done a logout before that

For example:
shopify theme logout
shopify theme pull --store youstorename

Hope this will work for you

The quieter you become, the more you are able to hear

JunaidHassan
Shopify Partner
1 0 0

I am still getting an error with cli 3.44.1

at execCLI2 (file:///usr/local/Cellar/shopify-cli/3.44.1/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/public/node/ruby.js:55:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)