[Bug] Auth conflict: Both claude.ai token and ANTHROPIC_API_KEY are set

Resolved 💬 2 comments Opened Apr 18, 2026 by inisho2-byte Closed May 26, 2026

Bug Description
⚠Auth conflict: Both a token (claude.ai) and an API key (ANTHROPIC_API_KEY) are set. This may lead to unexpected behavior.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.113
  • Feedback ID: a58d8bdb-d8d1-4bb8-b2de-bfebcf6dd43c

Errors

[{"error":"Error: Auth error: No API key available\n    at DE4 (B:/~BUN/root/src/entrypoints/cli.js:2745:34176)\n    at wa (B:/~BUN/root/src/entrypoints/cli.js:441:3606)\n    at jE4 (B:/~BUN/root/src/entrypoints/cli.js:2745:34445)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:130:18795)\n    at NmK (B:/~BUN/root/src/entrypoints/cli.js:2745:34736)\n    at hmK (B:/~BUN/root/src/entrypoints/cli.js:2745:35089)\n    at doExport (B:/~BUN/root/src/entrypoints/cli.js:2745:35868)\n    at export (B:/~BUN/root/src/entrypoints/cli.js:2745:35576)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:441:109618)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:441:109558)","timestamp":"2026-04-18T21:12:00.801Z"}]

View original on GitHub ↗

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