[BUG] Content filter blocks Bible scripture text in code files

Resolved 💬 6 comments Opened Mar 14, 2026 by ekzeto Closed Apr 12, 2026

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?

Summary

Claude Code's content filter is blocking output when reading TypeScript files that contain Bible scripture passages. This
is a game-breaking issue for our project — a Biblical educational game where scripture text is stored as string
constants.

Reproduction

We have a TypeScript constants file containing NKJV Bible passages as string literals (used as game content). When Claude
Code attempts to read the file, it intermittently returns:

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

Specific passages that trigger the filter

  1. Psalm 51 superscription — "A Psalm of David when Nathan the prophet went to him, after he had gone in to Bathsheba"

(NKJV verbatim)

  1. Job 1:9-11 — Questions referencing Satan's dialogue with God about Job
  2. Colossians 3:5 — "put to death your members which are on the earth: fornication, uncleanness, passion, evil desire..."

(NKJV verbatim)

These are direct quotations from the New King James Version of the Bible, stored as TypeScript string constants in a game
data file.

Impact

  • Cannot read or edit files containing scripture passages
  • Blocks development of any Bible-based educational application
  • The filter appears to trigger on combinations of religious text with words like "Satan", biblical euphemisms, or lists fof sins — all of which are core Bible content

Environment

  • Claude Code CLI current: 2.1.76
  • Model: claude-opus-4-6 (1M context)
  • File type: TypeScript (.ts) constants file
  • Content: NKJV Bible passage strings used as game data

What Should Happen?

Bible scripture text should never be blocked by the content filter. These are widely published, millennia-old religious texts used in educational software.

Error Messages/Logs

• Q: "What did Satan suggest God had done for Job that made him fa..." references Job 1:10 (outside Job
     1:13-22, 42:1-6)
  ⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering
     policy"},"request_id":"req_011CZ2CfUbKsvhAH7Ttxo1tp"}

Steps to Reproduce

• Q: "What did Satan suggest God had done for Job that made him fa..." references Job 1:10 (outside Job
1:13-22, 42:1-6)
⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering
policy"},"request_id":"req_011CZ2CfUbKsvhAH7Ttxo1tp"}

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="852" height="359" alt="Image" src="https://github.com/user-attachments/assets/e235092f-a98a-4133-b8af-39b5f4b33eea" />
<img width="620" height="431" alt="Image" src="https://github.com/user-attachments/assets/04b98c19-ce6d-4d2f-a206-b0f969f5b816" />
<img width="640" height="669" alt="Image" src="https://github.com/user-attachments/assets/99f15f29-d024-4957-88dd-d37612b314c2" />

View original on GitHub ↗

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