[BUG] Claude for Excel & PowerPoint: "Extra inputs are not permitted" on code_execution_20250825.use_web_search_purpose
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?
aBoth Claude for Excel and Claude for PowerPoint Office Add-ins fail with a Pydantic validation error immediately upon opening. The add-ins are completely unusable.
Claude for PowerPoint:configurations.0.code_execution_20250825.use_web_search_purpose: Extra inputs are not permitted
Claude for Excel:configurations.1.code_execution_20250825.use_web_search_purpose: Extra inputs are not permitted
This appears to be a server-side schema mismatch — the Office Add-ins send a field (use_web_search_purpose) inside the code_execution_20250825 configuration block that the API no longer accepts.
What Should Happen?
aThe Claude for Excel and Claude for PowerPoint add-ins should open and function normally without validation errors.
Error Messages/Logs
configurations.0.code_execution_20250825.use_web_search_purpose: Extra inputs are not permitted
configurations.1.code_execution_20250825.use_web_search_purpose: Extra inputs are not permitted
Steps to Reproduce
a1. Open Excel or PowerPoint (Microsoft 365, Windows)
- Open the Claude by Anthropic Add-in from the side panel
- 3. Error appears immediately - add-in is unusable
- 4. Tried clearing Office Add-in cache (
%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\) - issue persists - 5. Restarted Office applications - issue persists
Note: This is NOT a Claude Code issue but affects the Claude Office Add-ins (Excel & PowerPoint). Filed here as there is no dedicated repo for the Office add-ins.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
N/A - This bug affects the Claude Office Add-ins, not Claude Code
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
- Plan: Max
- - Date: February 14, 2026
- - - Office: Microsoft 365 (Windows)
- - - - The error is a Pydantic validation error indicating that the field
use_web_search_purposeinside thecode_execution_20250825configuration block is being rejected by the API. This suggests a schema mismatch between what the Office Add-ins send and what the API currently accepts - likely introduced by a recent server-side update. - - - - - Clearing the Office Add-in cache (
%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\) did NOT resolve the issue.
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗