[Bug] Anthropic API Error: Output blocked by content filtering policy

Status Closed — not planned
Reported on v2.1.143
Maintainer reply None cached
Activity 2 comments · opened May 27, 2026 · closed Jun 27, 2026

Bug Description
I am reading an essay by Michel Foucault on the Enlightenment and get this error: "API Error: Output blocked by content filtering policy"

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.143
  • Feedback ID: c60e80cb-5ef9-4a4b-b84c-c7999d6abd00

Errors

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26452 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at UHK (/$bunfs/root/src/entrypoints/cli.js:4946:13303)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-27T12:25:02.982Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CbT51C8HMZz9DXUQ3wbGH\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:2015)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-27T12:26:40.588Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CbT59cYwQgskQxQPNHN3w\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:2015)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-27T12:28:27.502Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CbT5MEGL9d4BgRfg1gV5z\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:2015)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-27T12:31:09.497Z"}]

View original on GitHub ↗

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