Erroneous Usage Policy restictions
I have requested Claude Code to add the copyright notices to an application I am developing. Claude Code has erroneously added these copyright notices to some json files that now the application is not able to process. When I request Claude Code to correct what it has done erroneously, I am receiving these errors.
~~~
The issue is that the existing settings file contains a comment which
makes it invalid JSON. Let me check what the content looks like:
⎿ 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.
⎿ Error: /bin/bash: eval: line 1: unexpected EOF while looking for
matching `"'
⎿ 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.
~~~
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗