Claude code is hitting some kind of condition where the...

Resolved 💬 3 comments Opened Oct 15, 2025 by bdmorin Closed Oct 19, 2025

Bug Description
Claude code is hitting some kind of condition where the behavior in this video https://share.cleanshot.com/QxNLDsbm happens.

Cladue is completely unresponsive during this time, and the only way out is to kill -9 the claude process a regular kill doesn't work.

I don't know how to provide more information on this. Here are some notable things about the conversations that it happens in, this is only obervation, and not backed by any evidence as I don't know what I would provide.

  • i have long conversations with claude where it's examing kubernetes manifests, sometimes repeatedly, and I go through a lot of compactions. Some of my conversations can't be compacted because they are so large. This has been happening for about 7 days, and every conversation where this has happened has had at least 1 compaction.
  • i can resume the conversation with no issue.
  • i ran out of opus credits one day and I thought it was wierd because I hadn't done much, i think this loop behavior might be hitting the api, i have no proof of this.
  • i am on a max plan
  • i have 2 mcp servers, 13 commands, and 4 agents in the context
  • i've rotate my claude login so if there's something sensitive in this log, it should no longer be active.

Environment Info

  • Platform: darwin
  • Terminal: WezTerm
  • Version: 2.0.17
  • Feedback ID: 3d727f08-5ff7-4cc7-8fd9-e513b1adbb3a

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9UcN1tt4NTb8Z5xVaZU\"}\n    at q4.generate (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T18:43:10.481Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9UcNzBat9t9Bd2zs2Ye\"}\n    at q4.generate (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T18:43:10.871Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9UcQ9drRJof5VfaVzBK\"}\n    at q4.generate (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T18:43:11.034Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9UcQtY8vUkokqkXcpmS\"}\n    at q4.generate (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T18:43:11.298Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9UcUc2QtCbZYJzWANoy\"}\n    at q4.generate (file:///Users/bdmorin/.local/share/mise/installs/node/22.19.0/lib/

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗