Shopify App Deploy Error: “The custom token provided can’t be used for the App Management API”

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?

Extension

Expected behavior

Shopify App Deploy Successfully

Actual behavior

The custom token provided can’t be used for the App Management API.
Ensure the token is correct and not expired.

Reproduction steps

App need to deploy.

yarn shopify app deploy -f -c shopify.app.wip.toml

This is WIP version of our main app

* I have checked the custom token, and it will expire in June 2026.

* As of last Friday, I was still able to deploy our app successfully.

Verbose output

08:51:45 ╭─ error
08:51:45 │ The custom token provided can’t be used for the App Management API.
08:51:45 │ Ensure the token is correct and not expired.

Operating system

Ubuntu

CLI version

3.88.1

Nodejs version

22.17.0

I tried creating a new token and it worked. It looks like the issue is related to the token’s expiration.