MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getTokenRevokedErrorMessage

Function getTokenRevokedErrorMessage

src/services/api/errors.ts:200–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 'Your account does not have access to Claude Code. Please run /login.'
199
200export function getTokenRevokedErrorMessage(): string {
201 return getIsNonInteractiveSession()
202 ? 'Your account does not have access to Claude. Please login again or contact your administrator.'
203 : TOKEN_REVOKED_ERROR_MESSAGE
204}
205
206export function getOauthOrgNotAllowedErrorMessage(): string {
207 return getIsNonInteractiveSession()

Callers 1

Calls 1

Tested by

no test coverage detected