claude-code - 💡(How to fix) Fix [Bug] Team vs Pro account API limits incorrectly applied after re-authentication [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52558Fetched 2026-04-24 06:03:57
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:21:49.105Z"},{"error":"Error: unable to verify the first certificate\n at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:04.128Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at M2q (/$bunfs/root/src/entrypoints/cli.js:253:286768)\n at async vlq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n at async Gp6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n at async $4 (/$bunfs/root/src/entrypoints/cli.js:2732:2252)\n at async aJH (/$bunfs/root/src/entrypoints/cli.js:2757:5817)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2781:3410)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:13.915Z"},{"error":"Error: unable to verify the first certificate\n at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.228Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n at async L (/$bunfs/root/src/entrypoints/cli.js:6144:11825)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.880Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6144:11019)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.880Z"},{"error":"Error: unable to verify the first certificate\n at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:54.886Z"},{"error":"Error: unable to verify the first certificate\n at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:23:34.603Z"},{"error":"Error: unable to verify the first certificate\n at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:23:50.582Z"},{"error":"Error: unable to verify the first certificate\n at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n at <anonymo…

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:21:49.105Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:04.128Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at M2q (/$bunfs/root/src/entrypoints/cli.js:253:286768)\n    at async vlq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async Gp6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async $4_ (/$bunfs/root/src/entrypoints/cli.js:2732:2252)\n    at async aJH (/$bunfs/root/src/entrypoints/cli.js:2757:5817)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2781:3410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:13.915Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.228Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6144:11825)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.880Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6144:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.880Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:54.886Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:23:34.603Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:23:50.582Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymo…
RAW_BUFFERClick to expand / collapse

Bug Description I'm using ccs for using my team account, and I logged out from my personal account's Claude Code app, I logged out from claude CLI started via ccs and re-logged in back (team account), but the limit from my personal account is used. This is not acceptable! how can I change it?

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.118
  • Feedback ID: d7024927-ec19-4709-8503-e05cf5a132f8

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:21:49.105Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:04.128Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at M2q (/$bunfs/root/src/entrypoints/cli.js:253:286768)\n    at async vlq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async Gp6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async $4_ (/$bunfs/root/src/entrypoints/cli.js:2732:2252)\n    at async aJH (/$bunfs/root/src/entrypoints/cli.js:2757:5817)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2781:3410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:13.915Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.228Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6144:11825)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.880Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30506)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6144:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:39.880Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:22:54.886Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:23:34.603Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:23:50.582Z"},{"error":"Error: unable to verify the first certificate\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymo…

Note: Content was truncated.

extent analysis

TL;DR

The issue seems to be related to authentication and certificate verification, and setting the GITHUB_PERSONAL_ACCESS_TOKEN environment variable might help resolve the problem.

Guidance

  • Check if the GITHUB_PERSONAL_ACCESS_TOKEN environment variable is set and valid for the team account.
  • Verify that the Claude Code app and CLI are properly configured to use the team account credentials.
  • Try deleting any existing keychain entries related to the personal account to prevent interference with the team account.
  • Ensure that the system's certificate store is up to date and configured correctly.

Example

No code snippet is provided as the issue seems to be related to configuration and environment variables rather than code.

Notes

The provided error messages suggest issues with certificate verification and missing environment variables. However, without more information about the specific setup and configuration, it's difficult to provide a more detailed solution.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable for the team account and verify that the Claude Code app and CLI are configured correctly. This might help resolve the authentication and certificate verification issues.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING