# Shopify Theme Dev \> Access Token Expired

**URL:** <https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656>\
**Category:** Shopify CLI and Libraries\
**Tags:** theme-commands\
**Created:** [February 16, 2026, 2:45pm UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656 "2026-02-16T14:45:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceri\_waters](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ceri_waters/32/314_2.png) [@ceri\_waters](https://community.shopify.dev/u/ceri_waters)\
**Post date:** [February 16, 2026, 2:45pm UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/1 "2026-02-16T14:45:54Z")

</div>

### I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

### I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

### In which of these areas are you experiencing a problem?

Theme

### Expected behavior

Automatic Token Refresh

### Actual behavior

After developing for long periods of time, the token expires but the CLI doesn’t seem to request a new token automatically anymore, instead I get this error shown on screen:

“The access token provided is expired, revoked, malformed, or invalid for other reasons.”

Only restarting the CLI fixes it 🤷

### Reproduction steps

😬

### Verbose output

Too difficult to get as it happens so sporadically

### Operating system

Windows 11

### CLI version

3.89.0

### Shell

Git Bash / Powershell

### Nodejs version

24.6.0

### What language and version are you using in your application?

N/A

---

<div class="post-metadata">

**Author:** ![Josh-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/josh-shopify/32/147_2.png) [@Josh-Shopify](https://community.shopify.dev/u/Josh-Shopify)\
**Post date:** [February 17, 2026, 2:38pm UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/2 "2026-02-17T14:38:48Z")

</div>

Hey @ceri_waters, thanks for the post! How long would you say your development period was before you hit the error? Has this happened multiple times? If so is it around that same time frame?

Thanks!

---

<div class="post-metadata">

**Author:** ![ceri\_waters](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ceri_waters/32/314_2.png) [@ceri\_waters](https://community.shopify.dev/u/ceri_waters)\
**Post date:** [February 17, 2026, 3:55pm UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/3 "2026-02-17T15:55:16Z")

</div>

@Josh-Shopify It’s been happening for a few weeks now, latest version possibly? I only really notice it after extended development i.e. +1 hour

One of the guys from Shopify Dev Alliance has come across the issue too (which is when I then posted).

---

<div class="post-metadata">

**Author:** ![Liam-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/liam-shopify/32/6_2.png) [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Post date:** [February 18, 2026, 11:00am UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/4 "2026-02-18T11:00:40Z")

</div>

Hi @ceri_waters

Thanks for flagging this - there’s an update we’re working on that will be released soon that should address this issue.

---

<div class="post-metadata">

**Author:** ![Ketan\_Mistry](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ketan_mistry/32/2424_2.png) [@Ketan\_Mistry](https://community.shopify.dev/u/Ketan_Mistry)\
**Post date:** [February 23, 2026, 8:28am UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/5 "2026-02-23T08:28:54Z")

</div>

@Liam-Shopify I’ve been having this error ever since the cart ajax API issues, so don’t know if it’s related ([CLI \> Theme Dev \> cart ajax 401](https://community.shopify.dev/t/cli-theme-dev-cart-ajax-401/28826)). It’s intermittent for me, but probably happens a couple of times within the hour.

---

<div class="post-metadata">

**Author:** ![lynthius](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/lynthius/32/20480_2.png) [@lynthius](https://community.shopify.dev/u/lynthius)\
**Post date:** [February 23, 2026, 8:42am UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/6 "2026-02-23T08:42:25Z")

</div>

Same issue here. Restarting the CLI always fixes it. It seems to occur more often when I’m working on both theme and app development simultaneously, although that’s not consistent. In some cases, it simply crashes after running for some time.

EDIT: This happens a couple of times a month.

---

<div class="post-metadata">

**Author:** ![ceri\_waters](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ceri_waters/32/314_2.png) [@ceri\_waters](https://community.shopify.dev/u/ceri_waters)\
**Post date:** [March 26, 2026, 10:13am UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/7 "2026-03-26T10:13:24Z")

</div>

@Liam-Shopify Don’t know what the status is with this one, but I’m still getting it.  
Request ID example: 54f28fe6-721d-4dcc-9e53-c22eef983881-1774519894

---

<div class="post-metadata">

**Author:** ![jz\_manduka](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jz\_manduka](https://community.shopify.dev/u/jz_manduka)\
**Post date:** [July 29, 2026, 10:55pm UTC](https://community.shopify.dev/t/shopify-theme-dev-access-token-expired/29656/8 "2026-07-29T22:55:10Z")

</div>

I’ve just started seeing this issue popup again. Using Shopify CLI v4.5.2
