claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Anthropic API Error: Usage Policy violation on snapshot object queries

Open SuperBox64 opened this issue 6 months ago • 3 comments

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.

SuperBox64 avatar Nov 02 '25 15:11 SuperBox64

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/10804
  2. https://github.com/anthropics/claude-code/issues/10198
  3. 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

github-actions[bot] avatar Nov 02 '25 15:11 github-actions[bot]

These legal API errors are without merit. All they do is hinder work. It's like adding a captcha that nobody can read.

SuperBox64 avatar Nov 02 '25 16:11 SuperBox64

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.

github-actions[bot] avatar Dec 10 '25 10:12 github-actions[bot]