CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT
Updated by Alex Sorokoletov
CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT is a Claude Code environment variable. Removed in v2.1.318, so current releases ignore it. It is listed in the official reference.
| Status | Removed in v2.1.318 |
|---|---|
| Added | Added between v2.1.238 and v2.1.241 |
| Category | Cloud providers |
| Official docs | Listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT": "<value>"
}
}Related variables
CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARDANTHROPIC_BEDROCK_BASE_URL: Alternative Bedrock endpoint (alias).ANTHROPIC_BEDROCK_MANTLE_BASE_URLANTHROPIC_BEDROCK_REGION_PREFIX: Tells Bedrock to prefer a specific cross-region inference-profile prefix over the one derived from AWS_REGION.ANTHROPIC_BEDROCK_SERVICE_TIERAWS_BEARER_TOKEN_BEDROCK: Bearer token for Bedrock authentication.CLAUDE_CODE_SKIP_BEDROCK_AUTH: Skip Bedrock authentication.CLAUDE_CODE_USE_BEDROCK: Use Amazon Bedrock as backend.
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT?
Removed in v2.1.318, so current releases ignore it.
How do I set CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT?
Export it before starting Claude Code (export CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.