[BUG] API Error 400 : opusplan, planning works, generating code results in this error
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?
I'm trying something trivial, appending a lorem ipsum string to an array in typescript.
Opusplan is the model I use in .claude/settings.json
Planning goes well, generating results in API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011CYsWKdhGgeAg2a7cuHREK"}
Is persistent since yesterday.
What Should Happen?
Add the string to the array.
Error Messages/Logs
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011CYsWKdhGgeAg2a7cuHREK"}
Steps to Reproduce
This is the prompt: In the interactive elements in de tutorial, add an element of 1200 lorem ipsum words, preceded that you can test this text in scroll mode by hitting two times tab from operator general
Claude Model
Other
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.71
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗