[BUG] Unable to generate a AGPLv3 license due to content filtering policy

2 min read Original article ↗

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When I ask Claude to generate a AGPLv3 license it always shows:

Thinking…

  I see there's already a custom license (TCL v1.0). The user wants to switch to AGPLv3. Let me create the three files:

  1. LICENSE - Official AGPLv3 text
  2. LICENSE.md - Plain English explainer
  3. COMMERCIAL-LICENSE.md - For commercial negotiations

  I'll need to get the official AGPLv3 text. Let me write it out.

⏺ I see you have a custom TCL license. Let me replace it with AGPLv3 and create the supporting docs:
  ⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}

  Todos
  ☐ Generate AGPLv3 LICENSE file
  ☐ Write LICENSE.md plain English explainer
  ☐ Write COMMERCIAL-LICENSE.md for negotiations
  ☐ Update README.md license section

What Should Happen?

Claude should not be prevented by content filtering for creating a AGPLv3 license file.

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

Ask Claude to write a LICENSE for AGPLv3

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.0.55 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

Claude code is amazing! You guys are doing a FABULOUS job!