Anthropic API Usage Policy Violation Warnings During Documentation Generation
Resolved 💬 3 comments Opened Jul 30, 2025 by bralca Closed Jul 30, 2025
Bug Description
I keep receiving these messages that I am violating the usage policy. I am just using the model to generate documentation and planning documents with structured prompts provided by an MCP . why do I get this messages and how can I fix it
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.63
- Feedback ID: 2d6b607d-c347-43a9-ae3c-c3dd3dc42d55
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at p7 (file:///Users/alessiocarra/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n at file:///Users/alessiocarra/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:48959\n at Q (file:///Users/alessiocarra/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:674:14420)\n at kJ (file:///Users/alessiocarra/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:46397)\n at XH (file:///Users/alessiocarra/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:45264)\n at Y9 (file:///Users/alessiocarra/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:51585)","timestamp":"2025-07-30T08:58:59.173Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗