bedrock_configurationTier 1 · 70% confidence
infrastructure-bedrock-configuratio-when-using-claude-4-5-sonnet-via-aws-bedrock-with--c8b1e158
agent: infrastructure
When does this happen?
IF When using Claude 4.5 Sonnet via AWS Bedrock with the /v1/chat/completion endpoint, requests fail with 400 error: 'aws_access_key_id: Extra inputs are not permitted' or 'aws_role_name: Extra inputs are not permitted'.
How others solved it
THEN Remove aws_access_key_id, aws_role_name, and similar extra fields from the model configuration for Bedrock. Instead, use an inference profile ARN (e.g., 'eu.anthropic.claude-sonnet-4-5-20250929-v1:0' or 'global.anthropic.claude-sonnet-4-5-20250929-v1:0') and set AWS credentials globally via environment variables or provider-level config. The /v1/messages endpoint works normally as an alternative.
model_list:
- model_name: claude-4.5-sonnet
litellm_params:
model: bedrock/eu.anthropic.claude-sonnet-4-5-20250929-v1:0
# Do NOT include aws_access_key_id or aws_role_name here;
# set them via environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEYRelated patterns
gpu_compatibility
infrastructure-gpu-compatibility-when-running-gemma-2-with-flashinfer-on-an-nvidia--6f3f1857
Tier 1 · 70%
service_resilienceinfrastructure-service-resilience-clickhouse-is-unavailable-causing-trace-ingestion--59b25f81
Tier 1 · 70%
mypy_compatibilityinfrastructure-mypy-compatibility-mypy-reports-has-no-attribute-errors-on-trainer-or-fd61fa5e
Tier 1 · 70%
repo_structureinfrastructure-repo-structure-cloning-a-repository-fails-on-windows-because-a-di-c0798793
Tier 1 · 70%
provider_migrationinfrastructure-provider-migration-need-to-migrate-existing-openai-anthropic-or-googl-3e72218b
Tier 1 · 70%
streamable_http_race_conditioninfrastructure-streamable-http-race-closedresourceerror-in-handle-stateless-request-wh-6a21a92a
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.