Why am I getting a Themekit API error on my client's store?

Hi,
I’m working on a client’s store. They have sent me over a Themekit Password via the Themekit Access App.

I’ve done this same process with three of their other websites with no issue but for this one, I’m getting an error “[API] Invalid API key or access token (unrecognized login or wrong password)”

So when I run this command, I noticed it doesn’t create the config.yml but still shows me my theme directories. (So that makes me feel like I am authorized, and I’ve double, triple-checked the key to make sure it’s correct as well as just copy and pasted it)

Then if I try to pull down the theme with the command, that’s when I get the error. (see images below)

I’m trying to work on this theme in a local environment, and like I mentioned I’ve done this on three of their other websites, that all use the same base theme. There are no major changes between them.

None of these have given me an issue before.. I’d appreciate any guidance on this issue!

themekit-error---2.png

Hi

I recently had the same issue…

Try this

theme get --password=[your-password] --store=“[your-store.myshopify.com]” --themeid=[your-theme-id]

I’m assuming you are running this is CMD or Powershell inside a local folder.

1st = setup your config.yml file

development:
password: password
store: storeName.myshopify.com

2nd = Run “theme get --list”

Once you have your theme id, add it to the config file.

development:
password: password
theme_id: “number”
store: storeName.myshopify.com

3rd = Run “theme get”
This will download your theme assets in the current folder.

It worked for me, hope it helps you :wink: