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

Resolved 💬 2 comments Opened Mar 3, 2026 by alexanderkoh Closed Mar 31, 2026

Bug Description
Getting several API Error: 400 {"type":"error","error":{"type":"invalid_request_error
","message":"Output blocked by content filtering
policy"},"request_id":"req_011CYgfUtk9MwsK6mT7vh5QG"} when doing normal work requests

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.45
  • Feedback ID: c6bc5d94-f1cc-452c-b760-8235d6598c34

Errors

[{"error":"Error\n    at nk (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:43:10097)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:45:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:04.885Z"},{"error":"Error: 1P event logging: 20 events failed to export (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\n    at queueFailedEvents (/$bunfs/root/claude:2101:2350)\n    at async doExport (/$bunfs/root/claude:2101:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:09.795Z"},{"error":"Error: {\"message\":\"Failed to export 20 events (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\",\"originalLine\":\"2101\",\"originalColumn\":\"1409\",\"line\":\"2101\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 20 events (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\\n    at doExport (/$bunfs/root/claude:2101:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2144:25028)\n    at <anonymous> (/$bunfs/root/claude:2096:20332)\n    at mk7 (/$bunfs/root/claude:2096:20876)\n    at <anonymous> (/$bunfs/root/claude:2097:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:09.795Z"},{"error":"Error: 1P event logging: 2 events failed to export (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\n    at queueFailedEvents (/$bunfs/root/claude:2101:2350)\n    at async doExport (/$bunfs/root/claude:2101:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:23.935Z"},{"error":"Error: {\"message\":\"Failed to export 2 events (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\",\"originalLine\":\"2101\",\"originalColumn\":\"1409\",\"line\":\"2101\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 2 events (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\\n    at doExport (/$bunfs/root/claude:2101:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2144:25028)\n    at <anonymous> (/$bunfs/root/claude:2096:20332)\n    at mk7 (/$bunfs/root/claude:2096:20876)\n    at <anonymous> (/$bunfs/root/claude:2097:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:23.936Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CYge8hRLfNhFhuqQdSsGD\"}\n    at generate (/$bunfs/root/claude:327:8796)\n    at makeRequest (/$bunfs/root/claude:366:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:34.139Z"},{"error":"Error: 1P event logging: 3 events failed to export (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\n    at queueFailedEvents (/$bunfs/root/claude:2101:2350)\n    at async doExport (/$bunfs/root/claude:2101:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T18:44:39.194Z"},{"error":"Error: {\"message\":\"Failed to export 3 events (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\",\"originalLine\":\"2101\",\"originalColumn\":\"1409\",\"line\":\"2101\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 3 events (status=429, code=ERR_BAD_REQUEST, Request failed with status code 429)\\n    at doExport (/$bunfs/root/claude:2101:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2144:25028)\n    at <anonymous> (/$bunfs/root/claude:2096:20332)\n    at mk7 (/$bunfs/root/claude:2096:20876)\n    at <anonymous> (/$bunfs/root/claude:2097:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-…

Note: Content was truncated.

View original on GitHub ↗

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