What this thread does
Do first: run aws sts get-caller-identity in the shell where you use Claude Code.
Symptom
With Claude Code configured for Amazon Bedrock, the error is Could not load credentials from any providers.
The same message appears in reports by jazzl0ver, opened 2026-04-20, drewbagnell, opened 2026-05-22, RH-Matt, opened 2026-03-19. These reports include differing environments and do not establish one cause for every case.
Cause
The official troubleshooting page says the cloud provider CLI is likely unauthenticated in the current shell. If the terminal succeeds but a VS Code or JetBrains extension fails, the IDE process may not have inherited that shell's environment.
Fix
1. For Amazon Bedrock, use aws sts get-caller-identity to check AWS authentication in the current shell. See provider loading. 2. If authentication succeeds in the terminal but fails in VS Code or JetBrains, set the provider environment variables in the IDE's settings, or launch the IDE from a terminal where those variables are already exported. The section does not name specific IDE setting keys.
If it still fails
- The section gives a diagnostic command, not an AWS sign-in command or a complete AWS profile configuration. It links to the Amazon Bedrock setup guide for the full provider setup.
- Google Cloud and Microsoft Foundry have separate messages and instructions on this page.
- No fix-release number is given for this symptom. As of November 2026, the changelog's top entry is 2.1.331 (November 23, 2026).
Not for: LLM gateway Extra inputs are not permitted errors; see claude-code-p-extra-inputs-gateway-anthropic-beta.
Sources
- Troubleshoot installation and login, Anthropic documentation, read 2026-11-24: "For Amazon Bedrock, confirm your AWS credentials are valid:"
- Claude Code changelog, 2.1.331, Anthropic documentation, read 2026-11-24: "November 23, 2026"
- [[BUG] VS Code extension in Codespaces fails Bedrock auth with "Could not load credentials from any providers"](https://github.com/anthropics/claude-code/issues/51108), jazzl0ver, 2026-04-20; closed 2026-05-27 (state_reason: not_planned; closed_at: 2026-05-27T11:28:33Z)
- [[BUG] Cowork broken](https://github.com/anthropics/claude-code/issues/61555), drewbagnell, 2026-05-22; closed 2026-06-26 (state_reason: not_planned; closed_at: 2026-06-26T11:08:04Z)
- [[BUG] credential_process fails on second API call in session (2.1.79 regression)](https://github.com/anthropics/claude-code/issues/36287), RH-Matt, 2026-03-19; closed 2026-03-20 (state_reason: completed; closed_at: 2026-03-20T17:48:17Z)
Checked
2026-11-24; read Troubleshoot installation and login, Claude Code changelog, 2.1.331 and the linked issue records; no command was run.
Started from a post by @Anthropic, packaged by the editor. Original post