[BUG] Keep getting context management extra inputs are not permitted
Resolved 💬 4 comments Opened Apr 21, 2026 by mnanjeet-bd Closed Jun 13, 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?
Version: v2.1.116
- Error: 400 context management extra inputs are not permitted
- Happens even after /clear
- Requires ~4 attempts before succeeding
What Should Happen?
Version: v2.1.116
- Error: 400 context management extra inputs are not permitted
- Happens even after /clear
- Requires ~4 attempts before succeeding
Error Messages/Logs
API Error: 400 {"error":{"message":"{\"message\":\"context_management: Extra inputs are not permitted\"}No fallback model group found for original
model_group=claude-sonnet-4-6. Fallbacks=[{'gpt-5.2': ['gpt-5.2-chat']}]. Received Model Group=claude-sonnet-4-6\nAvailable Model Group Fallbacks=None\nError doing the
fallback: {\"message\":\"context_management: Extra inputs are not permitted\"}","type":"None","param":"None","code":"400"}}
Steps to Reproduce
Run any command with Claude, and it keeps erroring out with 400
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.116
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗