[BUG]

Resolved 💬 3 comments Opened Mar 17, 2026 by Guo1663 Closed Mar 21, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Subject: Claude Code 401 "Invalid bearer token" - Pro subscription via iOS
Description:
I'm a Pro plan subscriber (iOS subscription). My account email is [Miladydfp@mail.com](mailto:Miladydfp@mail.com).
Claude Code returns 401 "Invalid bearer token" on every request. This happens on:

Claude Desktop app (Windows) - Code mode
VS Code extension
Command line (claude)

Chat mode in the desktop app works fine.
What I've tried:

logout/login multiple times
Reinstalled Claude Code via npm
Deleted .claude folder and .claude.json
Reinstalled desktop app
Cleared all cached data

It always shows "API Usage Billing" instead of my Pro subscription. Login completes successfully but API calls fail with 401.
This was working yesterday. Please help reset my authentication from the backend.

What Should Happen?

Subject: Claude Code 401 "Invalid bearer token" - Pro subscription via iOS
Description:
I'm a Pro plan subscriber (iOS subscription). My account email is [Miladydfp@mail.com](mailto:Miladydfp@mail.com).
Claude Code returns 401 "Invalid bearer token" on every request. This happens on:

Claude Desktop app (Windows) - Code mode
VS Code extension
Command line (claude)

Chat mode in the desktop app works fine.
What I've tried:

logout/login multiple times
Reinstalled Claude Code via npm
Deleted .claude folder and .claude.json
Reinstalled desktop app
Cleared all cached data

It always shows "API Usage Billing" instead of my Pro subscription. Login completes successfully but API calls fail with 401.
This was working yesterday. Please help reset my authentication from the backend.

Error Messages/Logs

Subject: Claude Code 401 "Invalid bearer token" - Pro subscription via iOS
Description:
I'm a Pro plan subscriber (iOS subscription). My account email is Miladydfp@mail.com.
Claude Code returns 401 "Invalid bearer token" on every request. This happens on:

Claude Desktop app (Windows) - Code mode
VS Code extension
Command line (claude)

Chat mode in the desktop app works fine.
What I've tried:

logout/login multiple times
Reinstalled Claude Code via npm
Deleted .claude folder and .claude.json
Reinstalled desktop app
Cleared all cached data

It always shows "API Usage Billing" instead of my Pro subscription. Login completes successfully but API calls fail with 401.
This was working yesterday. Please help reset my authentication from the backend.

Steps to Reproduce

Subject: Claude Code 401 "Invalid bearer token" - Pro subscription via iOS
Description:
I'm a Pro plan subscriber (iOS subscription). My account email is [Miladydfp@mail.com](mailto:Miladydfp@mail.com).
Claude Code returns 401 "Invalid bearer token" on every request. This happens on:

Claude Desktop app (Windows) - Code mode
VS Code extension
Command line (claude)

Chat mode in the desktop app works fine.
What I've tried:

logout/login multiple times
Reinstalled Claude Code via npm
Deleted .claude folder and .claude.json
Reinstalled desktop app
Cleared all cached data

It always shows "API Usage Billing" instead of my Pro subscription. Login completes successfully but API calls fail with 401.
This was working yesterday. Please help reset my authentication from the backend.

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.77 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

Miladydfp@mail.com 这是我的账号

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗