1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude実行時にBedrock: 400 error - output_config.effort: Extra inputs are not permittedが発生する

1
Posted at

事象

Claude 実行時に以下のエラーが発生する。

Bedrock: 400 error - output_config.effort: Extra inputs are not permitted

環境

  • Window11
  • WSL(Linux)
  • Claude Sonnet 4.5 (Amazon Bedrock)

原因

Claude Code が内部 API を通じて Amazon Bedrock にリクエストを送信する際、
output_config.effort パラメータが自動的に付与されます。

しかし、現在使用している Bedrock の Claude Sonnet 4.5 では
output_config.effort パラメータに対応していないため、
Bedrock 側の strict schema validation によりリクエストが拒否され、
上記のエラーが発生しています。

対策

output_config.effort パラメータに対応しているClaude Sonnet 4.6 をベースに Application Inference Profile(AIP)を作成し、
Claude Code の設定を更新する

参考情報

他に試したこと

  • claudeのバージョンダウン・最新化
    • 同様のエラーが発生した
  • リクエストに anthropic_beta = 機能を追加する
    • Claudeに直接リクエストを送っているケースならこれで行けるはず
    • claude内部でリクエストを送っている? (少なくともClaude Code CLI ドキュメントには、リクエストパラメータをユーザーが変更する方法の記載なし)ため修正できず

URL

その他

  • ChatGPTを利用して人間が文章を記載
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?