Claude Code fails to fetch or create the GPL v3.0 license when asked

4 mccoyb 2 9/8/2025, 5:43:40 PM
Is it just me? What in the GPL v3.0 license causes CC to run into this issue?

Note that, if I copy the entire license into the prompt, it can successfully create it.

---

Now let me add the GPL v3.0 LICENSE file:

Fetch(https://www.gnu.org/licenses/gpl-3.0.txt) ⎿ Error: Request failed with status code 429

Let me create the GPL v3.0 LICENSE file directly: ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_er ror","message":"Output blocked by content filtering policy"},"request_id":null}

Comments (2)

nivertech · 2h ago
Once CC tried to put an MIT license on a proprietary repo

It's best to explicitly to disallow things like that in CLAUDE.md

daemonologist · 11h ago
Does it have the same behavior with other common licenses?

I would not be surprised if there are some guardrails in place specifically to keep licenses from being generated. If a client accidentally re-licensed their entire source-available product because they weren't paying attention to what Claude Code was spitting out, I imagine they'd be pretty upset (I don't know if such an accidental license would hold up in court, but nevertheless).