Skip to content

[BUG] Claude Code Web: "Invalid API key · Fix external API key" error on session start #11171

Description

@TweedBeetle

Preflight Checklist

  • I have searched existing issues and this hasn't been reported for Claude Code Web
  • This is a single bug report
  • I am using Claude Code Web (not CLI)

What's Wrong?

When starting a new session in Claude Code Web, receiving the error: "Invalid API key · Fix external API key"

This prevents the session from starting.

What Should Happen?

Claude Code Web should authenticate properly and allow sessions to start without API key errors.

Error Messages/Logs

Invalid API key · Fix external API key

Screenshot showing the error in Claude Code Web interface:
Image

Steps to Reproduce

  1. Navigate to Claude Code Web
  2. Attempt to start a new session
  3. Error appears: "Invalid API key · Fix external API key"
  4. Session fails to start

Claude Model

N/A - Session fails to start

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude Code Web (latest)

Platform

Claude Code Web

Operating System

macOS

Terminal/Shell

N/A (Web interface)

Additional Information

Related Issues:

Differences from CLI issues:

  • This occurs in Claude Code Web, not the CLI
  • Error appears immediately on session initialization

Related closed issues mentioned by user: There was a previously closed issue with similar symptoms but this appears to be a separate/recurring problem in the web interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions