Unexpected Usage Policy Error During Git Operations

Status Closed — duplicate
Maintainer reply None cached
Activity 1 comment · opened Aug 19, 2025 · closed Aug 19, 2025

Bug Description
I'm just fixing my code... trying to change my local code to be closer to my github remote/dev branch and it's telling me I'm violating your usage policy? Doesn't make any sense to me.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 1.0.84
  • Feedback ID:

Errors

[{"error":"Error: Agent file C:\\Users\\<redacted>\\.claude\\agents\\CLAUDE.md has invalid model 'claude-3-5-sonnet-20241022'. Valid options: sonnet, opus, haiku, sonnet[1m], opusplan, inherit\n    at DW8 (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2355:192)\n    at file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2354:5255\n    at Array.map (<anonymous>)\n    at file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2354:5185\n    at async file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2354:5104\n    at async SuB (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3163:4)\n    at async Object.prompt (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3231:1248)\n    at async DPB (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1865:191)\n    at async Promise.all (index 0)\n    at async Promise.all (index 0)","timestamp":"2025-08-19T04:46:53.396Z"},{"error":"Error: ### Result\nError: page._wrapApiCall: Execution context was destroyed, most likely because of a navigation\n\n### Ran Playwright code\n```js\nawait page.getByRole('link', { name: 'Choose other method' }).click();\n```\n\n### Open tabs\n- 0: (current) [Accounts - Dev App] (https://<redacted>/sign-in?redirect=http%3A%2F%2Flocalhost%3A8081%2Freports%2Fsm-occupancy-outlook%3FhotelId%3D4)\n- 1: [about:blank] (about:blank)\n\n### New console messages\n- [ERROR] Not signed in with the identity provider. @ https://<redacted>/sign-in?redirect=...\n\n### Page state\n- Page URL: https://<redacted>/sign-in?redirect=http%3A%2F%2Flocalhost%3A8081%2Freports%2Fsm-occupancy-outlook%3FhotelId%3D4\n- Page Title: Accounts - Dev App\n- Page Snapshot:\n```yaml\n- generic [ref=e3]:\n  - generic [ref=e5]:\n    - generic [ref=e8]:\n      - generic [ref=e9]: Welcome\n      - generic [ref=e10]: Sign in to your account\n      - generic [ref=e90]:\n        - generic [ref=e91]: Sign in with\n        - generic [ref=e92]:\n          - button \"Google\" [ref=e94] [cursor=pointer]:\n            - generic [ref=e96] [cursor=pointer]:\n              - img [ref=e97] [cursor=pointer]\n              - text: Google\n          - button \"Microsoft\" [ref=e103] [cursor=pointer]:\n            - generic [ref=e105] [cursor=pointer]:\n              - img [ref=e106] [cursor=pointer]\n              - text: Microsoft\n          - button \"Username\" [ref=e111] [cursor=pointer]:\n            - generic [ref=e113] [cursor=pointer]:\n              - generic [ref=e114] [cursor=pointer]: 󰶧\n              - text: Username\n          - button \"Magic Link\" [ref=e115] [cursor=pointer]:\n            - generic [ref=e117] [cursor=pointer]:\n              - generic [ref=e118] [cursor=pointer]: 󱕅\n              - text: Magic Link\n    - generic [ref=e41]:\n      - text: Accounts - Dev App - 25.8.1\n      - link \"Privacy Policy\" [ref=e42] [cursor=pointer]:\n        - /url: https://<redacted>/privacy-policy.html\n      - generic [ref=e43]:\n        - generic [ref=e44]: 󰃢\n        - text: Clear Site Data\n  - generic: \n  - generic: 󰇚 󰚰\n```\n\n    at TSB (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1910:12058)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1910:6788)\n    at async oq8 (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3151:12621)\n    at async PuB (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3151:8882)\n    at async sq8 (file:///C:/Users/<redacted>/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3151:7873)\n    at async nq8 (file:///C:/Users/<redacted>/AppData/Roaming/npm/no

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗