claude-code - 💡(How to fix) Fix [BUG] Can't input Bedrock API key (bearer token) via copy/paste while executing /setup-bedrock [6 comments, 4 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#47888Fetched 2026-04-15 06:39:25
View on GitHub
Comments
6
Participants
4
Timeline
13
Reactions
0
Timeline (top)
commented ×6labeled ×5marked_as_duplicate ×1subscribed ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Copy paste for AWS Bedrock bearer doesn't work

What Should Happen?

Copy/Paste should work

Error Messages/Logs

Steps to Reproduce

Steps to reproduce: on Windows 11!!! onstall claude run /setup-bedrock select: 2. Bedrock API key (bearer token) copy AWS_BEARER_TOKEN_BEDROCK from text file Tried: paste, Ctrl + V, Ctrl + Shift + V, Right-click → Paste but not result input field accept only typing, but paste dowsn't work

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

v2.1.107

Platform

AWS Bedrock

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by investigating the input field's configuration or the clipboard functionality in the Windows Terminal.

Guidance

  • Check the input field's properties to see if there are any restrictions on pasting content, such as a readonly or disabled attribute.
  • Verify that the clipboard functionality is working correctly in the Windows Terminal by trying to paste the content into a different application or text editor.
  • Investigate if there are any known issues with the Windows Terminal or the Claude Code application that may be causing the paste functionality to fail.
  • Try using a different method to input the AWS_BEARER_TOKEN_BEDROCK, such as typing it manually or using a different terminal emulator.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may be specific to the Windows Terminal or the Claude Code application, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Try using a different method to input the AWS_BEARER_TOKEN_BEDROCK, such as typing it manually or using a different terminal emulator, until the root cause of the issue is determined.

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