[Bug] Anthropic API Error: Usage Policy violation on snapshot object queries
Bug Description
are you sure you are not removing the objects from snapshots.objects? ⎿ 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. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.31
- Feedback ID:
Errors
[{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-01T23:19:23.251Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-11-01T23:21:29.559Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-01T23:26:04.970Z"},{"error":"Error: Request was aborted.\n at Ck.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:3850)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-11-01T23:26:14.183Z"},{"error":"Error: Request was aborted.\n at Ck.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:3850)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-01T23:42:57.100Z"},{"error":"Error: Request was aborted.\n at Ck.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:3850)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-01T23:43:45.627Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-11-02T02:08:34.966Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-02T03:12:36.080Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-02T03:15:25.049Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-11-02T03:16:22.652Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-02T03:16:35.250Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-02T03:17:33.602Z"},{"error":"Error: Request was aborted.\n at vl._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:209:4515)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-02T04:13:43.895Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at $D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4413)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4141\n at Array.map (<anonymous>)\n at _F (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4132)\n at JSQ (file
Note: Error logs were truncated.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/10804
- https://github.com/anthropics/claude-code/issues/10198
- https://github.com/anthropics/claude-code/issues/8880
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
These legal API errors are without merit. All they do is hinder work. It's like adding a captcha that nobody can read.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.