cli: [Bug]: Private access token 401
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?
Extension
Expected behavior
Extension is shown
Actual behavior
Extension is not shown, but there is an error on console with private access token
Verbose output
npm run deploy --verbose:
New version released to users. new-custom-checkout-10
Reproduction steps
- Initial app
- Generate extension
- Run dev and install app, verify extension, and it works
- Deploy web to digital ocean app(it works)
- Deploy extension: Build Client ID(cd web/frontend/ && SHOPIFY_API_KEY=REPLACE_ME yarn build) and released
- Verify store, it doesn’t appear:
Operating System
Mac OS Monterey
Shopify CLI version (check your project’s package.json if you’re not sure)
^3.48.0
Shell
No response
Node version (run node -v if you’re not sure)
v16.19.0
What language and version are you using in your application?
Node v16.19.0
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (7 by maintainers)
Facing this exact same error , I am able to see the extension when I go via the cli link but with the normal checkout I get this error
Uploading Screen Recording 2024-04-29 at 8.23.29 PM.mov…
This might help few. There is a link at the bottom of the page to Add App in Customizer for Checkout Page.

I was able to get this working.
If this for development store, first make sure the store has the checkout extensibility preview enabled. If not, try creating a new dev store with the checkout extensibility enabled.
then go to the store, in the customizer section of the theme
select checkout page then under sections, enable you extension
now it should show.
This is how it is working for me.
Hi @hoannguyen02 👋
Thank you for providing your reproduction steps. This is working as expected because you are missing a step between 5 (deploy) and 6 (see the extension in checkout).
You can follow this guide to complete the missing step, which is to place the extension using the editor:
The reason why you didn’t see the extension is because you had stopped
yarn devin order to runyarn deploy. This is also why you gotERR_NAME_NOT_RESOLVEDfor your cloudflare domain (theyarn devserver).The private access token error is unrelated. You can follow this guide to set up your access token.
I see, I’m afraid I’ve reached the limits of my knowledge on checkout extensions, I’ll escalate to someone who knows more about them 😃