401 Unauthorized Error in Checkout UI Extension

I’m new to checkout extensions and stuck on external API requests. I’ve set api_access = true and network_access = true in [extensions.capabilities], enabled network API access in the Shopify Partner Dashboard, and built the app with the latest CLI commands on a Developer Preview test store for Checkout Extension testing. My backend handles CORS properly too. But when I run Shopify app dev, I get a 401 Unauthorized error for /private_access_tokens in the console.

If anyone has suggestions please let me know.

Hey @CNor07 :waving_hand: - I can’t say for sure what’s happening here for sure at the moment, but I did do a little digging into this for you and found a similar report in the Github repo for Shopify CLI: [Bug]: Private access token 401 · Issue #2544 · Shopify/cli · GitHub

There are some solutions there that might help. If you do still see the error popping up there though, I’d recommend opening a Github Issue in that repo since it would get you in touch with the team who manages the CLI on our end directly.

Hope this helps a bit, let me know if I can clarify anything on our end here.

1 Like