[BUG] "your organization has disabled claude subscription access for claude code usee an anthropic api key instead, or ask your admin to enable access"

Open 💬 3 comments Opened Jul 6, 2026 by jeremytrindade

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?

Hello i got all those following bugs in the following order:
First i got :
"You've hit your session limit . resets 11:50pm"
then for some reason i got the same message again
then i received:
Please run /login API Error: 403 The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()
then i got the same error 4 times:
Your organization has disabled Claude subscription access for Claude Code . use an Anthropic API key ubstead, or ask your admin to enable access"

but who is the admin if i'm the owner of the account xD by the way for more context i have a Max plan.

What Should Happen?

Hello i got all those following bugs in the following order:
First i got :
"You've hit your session limit . resets 11:50pm"
then for some reason i got the same message again
then i received:
Please run /login API Error: 403 The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()
then i got the same error 4 times:
Your organization has disabled Claude subscription access for Claude Code . use an Anthropic API key ubstead, or ask your admin to enable access"

but who is the admin if i'm the owner of the account xD by the way for more context i have a Max plan.

Error Messages/Logs

Steps to Reproduce

Hello i got all those following bugs in the following order:
First i got :
"You've hit your session limit . resets 11:50pm"
then for some reason i got the same message again
then i received:
Please run /login API Error: 403 The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()
then i got the same error 4 times:
Your organization has disabled Claude subscription access for Claude Code . use an Anthropic API key ubstead, or ask your admin to enable access"

but who is the admin if i'm the owner of the account xD by the way for more context i have a Max plan.

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.195

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

ubuntu server terminal

View original on GitHub ↗

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