[BUG] API Error: 400

Resolved 💬 2 comments Opened Dec 14, 2025 by jacksonzimm23 Closed Dec 15, 2025

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?

When I try to write any claude code request (in both claude code terminal as well as VSCode extension), I keep getting this error:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}

Requests that read the codes give me outputs, but any request that needs to change the code itself gives me that error. I have been using claude code for a month now on the max plan and have never had this issue.

What Should Happen?

Claude should change the code files without the error.

Error Messages/Logs

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}

Steps to Reproduce

  1. Any sort of request to change my code is creating this error.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.69 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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