[Bug] Anthropic API Error: Advisor tool result content could not be processed

Resolved 💬 6 comments Opened Apr 17, 2026 by byronluk Closed Apr 22, 2026

Bug Description
it's completely broken. I randomly get these "Advisor tool result content could not be processed." - and I just can't send anymore messages. I'm stuck with these 400 errors. If I ctrl+c and come back in, it's still stuck with these same errors.

I'm able to work around it by having another claude clean up the broken transcript:

⏺ Done. Removed the broken advisor pair (uuids 8379bfb2… and 65edf1fa…) and re-pointed the next thinking block's parentUuid to bridge the gap. Chain integrity verified — 0 orphans, 0 remaining advisor
  references. Backup saved alongside as .bak.1776469470.

  Root cause: Claude Code persisted the advisor_tool_result.content as a Python repr() of a dict (single-quoted {'type': 'advisor_redacted_result', ...}) instead of valid JSON, so the API rejected every replay.

  To pick up the fix: exit this session (Claude Code holds the conversation in memory), then claude -r 4d73bbb0-c2f1-48dd-8acc-b96c3d3bf727 — the next reload will read the cleaned file. If anything looks wrong,
   restore with mv …jsonl.bak.1776469470 …jsonl.

  Worth filing as a Claude Code bug (advisor result serialization). Reproducer: any /advisor call in a transcript you later resume.

Environment Info

  • Platform: darwin
  • Terminal: Superset
  • Version: 2.1.113
  • Feedback ID: f69963c8-436a-4d4a-a5e3-b2f689cadbf5

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/byronluk/.local/share/claude/versions/2.1.113 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:13.020Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADZqy9jsFboqdYqg8YG\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:15.550Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADaJU6UsfsU2RfHxAdJ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:21.740Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADaKBWkuokwZ2EYiDki\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:21.965Z"},{"error":"Error: API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADaKBWkuokwZ2EYiDki\"}\n    at cIH (/$bunfs/root/src/entrypoints/cli.js:4734:1564)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:21.966Z"},{"error":"Error: Error during compaction: API Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADaKBWkuokwZ2EYiDki\"}\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:5451:1199)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:21.966Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADcQq8vvwBWH4uoc17o\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:50.346Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Advisor tool result content could not be processed.\"},\"request_id\":\"req_011CaADcgmqUR73566GAjTMa\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T23:33:54.144Z"}]

View original on GitHub ↗

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