claude-code - 💡(How to fix) Fix just fails with a 500 then apologizes. not helpful [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46401Fetched 2026-04-11 06:21:16
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1renamed ×1

Error Message

[{"error":"Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-haiku-20241022"},"request_id":"req_011CZvgZeMk6J8vy4QXLjytR"}\n at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:57.921Z"},{"error":"Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-haiku-20241022"},"request_id":"req_011CZvgZeNUsNTT2zSMhhcw5"}\n at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:57.965Z"},{"error":"Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-haiku-20241022"},"request_id":"req_011CZvgZfSjDXVYLckSpfSy9"}\n at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:58.164Z"},{"error":"Error: Agent file /Users/rbowser/code/support-powertools/.claude/agents/ticket-intake-agent.md is missing required 'name' in frontmatter\n at mF5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:9275)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7749\n at Array.map (<anonymous>)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7679\n at async Promise.all (index 2)\n at async uP0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3665:1336)\n at async uP0.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:662:4184)\n at async Mj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3695:1293)\n at async qj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3655:1100)","timestamp":"2026-04-10T19:58:58.169Z"},{"error":"Error: Agent file /Users/rbowser/code/support-powertools/.claude/agents/attachment-analyzer-agent.md is missing required 'name' in frontmatter\n at mF5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:9275)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7749\n at Array.map (<anonymous>)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7679\n at async Promise.all (index 2)\n at async uP0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3665:1336)\n at async uP0.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:662:4184)\n at async Mj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3695:1293)\n at async qj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3655:1100)","timestamp":"2026-04-10T19:58:58.170Z"},{"error":"Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-haiku-20241022"},"request_id":"req_011CZvgZgC7nmdkNNZ1MPnZ6"}\n at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:58.386Z"},{"error":"Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-haiku-20241022"},"request_id":"req_011CZvgZhHMbbspftGir4YZ2"}\n at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.j

Code Example

[{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZeMk6J8vy4QXLjytR\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:57.921Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZeNUsNTT2zSMhhcw5\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:57.965Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZfSjDXVYLckSpfSy9\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:58.164Z"},{"error":"Error: Agent file /Users/rbowser/code/support-powertools/.claude/agents/ticket-intake-agent.md is missing required 'name' in frontmatter\n    at mF5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:9275)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7749\n    at Array.map (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7679\n    at async Promise.all (index 2)\n    at async uP0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3665:1336)\n    at async uP0.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:662:4184)\n    at async Mj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3695:1293)\n    at async qj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3655:1100)","timestamp":"2026-04-10T19:58:58.169Z"},{"error":"Error: Agent file /Users/rbowser/code/support-powertools/.claude/agents/attachment-analyzer-agent.md is missing required 'name' in frontmatter\n    at mF5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:9275)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7749\n    at Array.map (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7679\n    at async Promise.all (index 2)\n    at async uP0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3665:1336)\n    at async uP0.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:662:4184)\n    at async Mj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3695:1293)\n    at async qj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3655:1100)","timestamp":"2026-04-10T19:58:58.170Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZgC7nmdkNNZ1MPnZ6\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:58.386Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZhHMbbspftGir4YZ2\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.j
RAW_BUFFERClick to expand / collapse

Bug Description just fails with a 500 then apoligizes. not helpful

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 1.0.107
  • Feedback ID: 551753af-f534-4db4-98e3-dd71224da637

Errors

[{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZeMk6J8vy4QXLjytR\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:57.921Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZeNUsNTT2zSMhhcw5\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:57.965Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZfSjDXVYLckSpfSy9\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:58.164Z"},{"error":"Error: Agent file /Users/rbowser/code/support-powertools/.claude/agents/ticket-intake-agent.md is missing required 'name' in frontmatter\n    at mF5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:9275)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7749\n    at Array.map (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7679\n    at async Promise.all (index 2)\n    at async uP0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3665:1336)\n    at async uP0.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:662:4184)\n    at async Mj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3695:1293)\n    at async qj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3655:1100)","timestamp":"2026-04-10T19:58:58.169Z"},{"error":"Error: Agent file /Users/rbowser/code/support-powertools/.claude/agents/attachment-analyzer-agent.md is missing required 'name' in frontmatter\n    at mF5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:9275)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7749\n    at Array.map (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2406:7679\n    at async Promise.all (index 2)\n    at async uP0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3665:1336)\n    at async uP0.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:662:4184)\n    at async Mj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3695:1293)\n    at async qj5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3655:1100)","timestamp":"2026-04-10T19:58:58.170Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZgC7nmdkNNZ1MPnZ6\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2517)\n    at jP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n    at jP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-04-10T19:58:58.386Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-3-5-haiku-20241022\"},\"request_id\":\"req_011CZvgZhHMbbspftGir4YZ2\"}\n    at V4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.j

Note: Error logs were truncated.

extent analysis

TL;DR

The most likely fix involves addressing the "not_found_error" for the model "claude-3-5-haiku-20241022" and ensuring that agent files have the required 'name' in their frontmatter.

Guidance

  • Verify the existence and availability of the model "claude-3-5-haiku-20241022" to resolve the 404 errors.
  • Check the agent files (/Users/rbowser/code/support-powertools/.claude/agents/ticket-intake-agent.md and /Users/rbowser/code/support-powertools/.claude/agents/attachment-analyzer-agent.md) for the required 'name' in their frontmatter.
  • Ensure that the model and agent files are correctly configured and accessible.
  • Review the error logs for any patterns or additional information that could help in diagnosing the issue.

Example

No specific code snippet can be provided without more context, but ensuring the frontmatter of agent files includes a 'name' field, like so:

---
name: AgentName
---

could help resolve the agent-related errors.

Notes

The provided error logs suggest multiple issues: the model not being found and agent files missing required information. Addressing these could resolve the problem, but without more details about the environment or how these models and agents are managed, it's difficult to provide a comprehensive solution.

Recommendation

Apply a workaround by checking the model availability and ensuring agent files are correctly formatted, as this directly addresses the errors reported in the logs.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING