[BUG] Stop hook evaluator fails with 400: "output_config.format: Extra inputs are not permitted" (Bedrock)

Resolved 💬 2 comments Opened May 29, 2026 by lichegnzhang-dot Closed Jun 2, 2026

Preflight Checklist

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

What's Wrong?

Stop hook evaluator fails with 400: "output_config.format: Extra inputs are not permitted" (Bedrock)

What Should Happen?

描述要点:

  • opus 4.7 版本的问题, opus 4.6 版本正常
  • 使用 /goal 命令时,stop hook 评判器报错
  • 错误信息:output_config.format: Extra inputs are not permitted
  • 后端是 AWS Bedrock(从 Request ID 和 Service 名可以看出)
  • 这可能是 hook evaluator 向 Bedrock 发送了该 API 版本不支持的 output_config.format 参数

Error Messages/Logs

描述要点:
  - opus 4.7 版本的问题, opus 4.6 版本正常
  - 使用 /goal 命令时,stop hook 评判器报错
  - 错误信息:output_config.format: Extra inputs are not permitted
  - 后端是 AWS Bedrock(从 Request ID 和 Service 名可以看出)
  - 这可能是 hook evaluator 向 Bedrock 发送了该 API 版本不支持的 output_config.format 参数

Steps to Reproduce

描述要点:

  • opus 4.7 版本的问题, opus 4.6 版本正常
  • 使用 /goal 命令时,stop hook 评判器报错
  • 错误信息:output_config.format: Extra inputs are not permitted
  • 后端是 AWS Bedrock(从 Request ID 和 Service 名可以看出)
  • 这可能是 hook evaluator 向 Bedrock 发送了该 API 版本不支持的 output_config.format 参数

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.150

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗