[BUG] Claude Code crashes after required restart when setting up Bedrock

Status Open
Reported on v2.1.204
Maintainer reply None cached
Activity 1 comment · opened Jul 16, 2026

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?

When trying to (re-)authenticate with AWS Bedrock using the /setup-bedrock command, the automatic restart fails. The restart does occur, however Claude Code immediately crashes OR the prompt is sent to the terminal directly which then obviously fails.
This is especially important in contexts of short-lived AWS credentials.

What Should Happen?

Claude should restart properly and direct prompts to Claude Code instead of the terminal and not crash immediately.

Error Messages/Logs

Steps to Reproduce

  1. Start claude as usual
  2. Run /setup-bedrock and setup AWS Bedrock access and configuration
  3. Press 'Enter' to automatically restart claude
  4. Try to send prompt --> Crash occurs

Claude Model

_No response_

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.204 (Claude Code)

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

While issue was noticed within IntelliJ IDEA, it is reproducible in any other terminal.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗