Anthropic API Usage Policy Errors Preventing CLI Functionality

Resolved 💬 7 comments Opened Aug 9, 2025 by Stoff73 Closed Jan 3, 2026

Bug Description
I am constantly getting usager policy errors as shown here:\
Read(brief.md)
⎿ Error reading file

⏺ Let me check what files are available in the current directory:

⏺ List(.)
⎿ Listed 13 paths (ctrl+r to expand)
⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please
double press esc to edit your last message or start a new session for Claude Code to assist with a different task.

why are you giving me usage policy errors

⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please
double press esc to edit your last message or start a new session for Claude Code to assist with a different task.\
Claude code has now become unuasable, as it does not do anythiing anymore other than give errors?

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.72
  • Feedback ID: 7fa385af-20b9-4e30-b35e-eb7a3c5e38e8

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0: all messages must have non-empty content except for the optional final assistant message\"}}\n    at Q6.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:933:2303)\n    at uP.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:2101)\n    at uP.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:950:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-09T15:36:19.952Z"}]

View original on GitHub ↗

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