[BUG] Claude for Excel & PowerPoint: "Extra inputs are not permitted" on code_execution_20250825.use_web_search_purpose

Status Fixed / completed
Maintainer reply None cached
Activity 9 comments · opened Feb 14, 2026 · closed Feb 16, 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?

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)

  1. Open the Claude by Anthropic Add-in from the side panel
  2. 3. Error appears immediately - add-in is unusable
  3. 4. Tried clearing Office Add-in cache (%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\) - issue persists
  4. 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_purpose inside the code_execution_20250825 configuration 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.

View original on GitHub ↗

9 Comments

github-actions[bot] · 6 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/25709

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

mimosel · 6 months ago

+1

dgercke88 · 6 months ago
rikky-hermanto · 6 months ago

+1

rikky-hermanto · 6 months ago

<img width="349" height="339" alt="Image" src="https://github.com/user-attachments/assets/239e9b8c-cebd-410f-a577-d9a6ad1e1a4a" />

EddieH-work · 6 months ago

+1

pascale79 · 6 months ago

<img width="2880" height="1800" alt="Image" src="https://github.com/user-attachments/assets/b6efb0d5-62c3-4a31-a74b-ec9f6daf7db2" />

ghodss · 6 months ago

A fix for this has been released.

github-actions[bot] · 6 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.