Shopify Theme Dev > Access Token Expired

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 :person_shrugging:

Reproduction steps

:grimacing:

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

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!

@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).

1 Like

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.

1 Like