[Bug] Anthropic API Error: Unexpected Content Filtering for Legal Page Generation

Resolved 💬 5 comments Opened Sep 16, 2025 by Dexus Closed Jan 6, 2026

Bug Description

  Create for all languages the same files, to have a better test base. Also add the Pages for Impressum, Datenschutzerklärung, Nutzungsbedingungen, Über uns und Suche.

  ⏺ I'll create all the essential pages for each language, including legal pages and search functionality.

  ⏺ Let me start by creating the Impressum (Imprint) page for all languages:

  ⏺ Write(src/en/imprint.md)
  ⎿ Wrote 64 lines to src/en/imprint.md
  ---
  layout: base.njk
  title: Imprint
  description: Legal information and contact details for Own Public Tech Reviews
  lang: en
  permalink: /en/imprint/
  sitemap:
  changefreq: yearly
  priority: 0.3
  translationKey: imprint
  … +54 lines (ctrl+o to expand)
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}

  > continue

  ⏺ I'll continue creating the Impressum for other languages and then move on to the other pages.
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}

  > continue

  ⏺ I'll continue creating the Impressum pages for the other languages, then move on to the other essential pages.
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}

  Todos
  ☐ Create Impressum (Imprint) page for all languages
  ☐ Create Datenschutzerklärung (Privacy Policy) pages
  ☐ Create Nutzungsbedingungen (Terms of Service) pages
  ☐ Create Über uns (About Us) pages
  ☐ Create Suche (Search) pages
  ☐ Update navigation to include new pages

I would expect that a imprint / legal notice page would not get blocked by content filtering policy...

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.113
  • Feedback ID: 9750a2b5-b1af-4907-82ae-610eca3949ec

Errors

  [{"error":"SyntaxError: Expected double-quoted property name in JSON at position 99 (line 5 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:733:9932\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/
  claude-code/cli.js:713:13288)\n    at l$A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:25070)\n    at kU9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:26923)\n    at bk (file:///opt/homebrew/lib/node_modules/@anthropic-ai/
  claude-code/cli.js:784:27307)\n    at E2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:27239)\n    at rqB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3535:15112)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-
  code/cli.js:3546:301\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:713:13288)","timestamp":"2025-09-15T11:19:13.457Z"},{"error":"Error: Invalid settings\n    at SU9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n
  at l$A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at kU9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:26923)\n    at bk (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:27307)\n    at
  E2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:27239)\n    at rqB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3535:15112)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3546:301\n    at Q (file:///
  opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:713:13288)","timestamp":"2025-09-15T11:19:13.460Z"},{"error":"Error: Invalid settings\n    at SU9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:24387)\n    at l$A (file:///opt/homebrew/lib/
  node_modules/@anthropic-ai/claude-code/cli.js:784:25115)\n    at w8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:784:25887)\n    at Ja (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:770:1521)\n    at LC1 (file:///opt/homebrew/lib/
  node_modules/@anthropic-ai/claude-code/cli.js:770:1484)\n    at HTA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:909:16783)\n    at ty0.<anonymous>%2"}]

Note: Error logs were truncated.

View original on GitHub ↗

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