-
Notifications
You must be signed in to change notification settings - Fork 375
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
Theme kit access app - Invalid API key or access token #954
Comments
@hugos Your current command does not work since it contains unknown flag |
@denisinla My bad that's just a typo on I don't actually write it like that lol. I spoke to Shopify, this is known issue there they are trying to fix it. |
I have what seems to be the similar issue. Theme Kit was working fine on our development store. Then, I started getting this error whenever I tried to run any theme commands, for example: Steps:
|
It's unbelievable that this is still happening. |
I've found that you can bypass this problem by creating a custom app and configure the Admin API permission to Anyone who is experiencing issues using the Theme Kit Access app can simply add this section into their README.md ### Bypassing \[API\] Invalid API key or access token
Sometimes the passwords generated with the Theme Kit Access app don't work. When that happens, it's pretty simple to create an access role manually:
- Log into your store dashboard
- Click on _Apps_
- Click on _Develop apps_
- Click on _Create an app_
- Give it a name and click on _Create app_
- Click on _Configure Admin API scopes_
- Find the _Themes_ section inside _Admin API access scopes_ and select the following: `write_themes`, `edit_themes`.
- Click on _Save_
- Navigate to the _API credentials_ tab and click on _Install app_
- Install the app, then create an Admin API access token.
- Reveal access token and use it as themekit password
|
That's the "old way" and frankly, the one that works flawlessly all the time. Shopify came with the theme kit access app so devs would stop using the private apps way. |
Yeah, alternatively you can include source code in the repo and use the Github integration.
git subtree push --prefix dist compiled-repo-url $(git branch --show-current)
You can abstract the process of keeping the dist folder always in sync with the subtree by using git hooks: flowchart TD
subgraph pre_commit_hook[pre-commit]
stash_unchanged[git stash -q --keep-index]-->build_theme
build_theme[yarn build]-->stage_changed[git add -u]
stage_changed-->apply_stashed_changes=[git stash pop -q]
end
subgraph pre_push_hook[pre-push]
pull_subtree[yarn subtree:pull]
end
subgraph post_push_hook[post-push]
push_subtree[yarn subtree:push]
end
pre_commit_hook-->git_commit[git commit]
git_commit-->pre_push_hook
pre_push_hook-->git_push[git push]
git_push-->post_push_hook
|
I had this issue with Theme Kit Access and was able to fix it by updating Theme Kit to the latest version. |
[API] Invalid API key or access token (unrecognized login or wrong password) :( |
I'm on the latest version and still having this error.... |
It's still happening to me to this day as well. I just use the private apps method. |
it works, thanks a lot |
Hi everyone, I just wanted to add that I came across another instance of this issue: https://shopify.zendesk.com/agent/tickets/51939910 Store: https://app.shopify.com/services/internal/shops/59198537794 In this instance, the issue was caused by the merchant plugging in the store's |
Describe the bug
When using the new theme kit access app it always gives me this error:
[API] Invalid API key or access token (unrecognized login or wrong password)
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context
Of all the times that I've tried using it it has only worked once. This is also happening to a lot of my colleagues.
The text was updated successfully, but these errors were encountered: