[Bug] Anthropic API Error: Model refuses continuation with AUP message in valid session

Status Open
Reported on v2.1.227
Maintainer reply None cached
Activity 2 comments · opened Aug 16, 2026

Bug Description
I'm getting the following error despite my prompt being normal and safe and my own project centered API Error: Sonnet 5 can't help with this. Start a new session to continue. Send feedback with /feedback or learn more: https://www.anthropic.com/legal/aup Request ID: req_011Ce6mZnHEnBZ3etXRRB1FP

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.227
  • Feedback ID: b4b32fec-601e-4a17-b8aa-0e45fdf6fa37

Errors

[{"error":"TelemetrySafeError: VirtualMessageList: itemKeys/messages length desync (keys=50 messages=49 range=[0,50))\n    at jjE (B:/~BUN/root/src/entrypoints/cli.js:23325:8179)\n    at Bkm (B:/~BUN/root/src/entrypoints/cli.js:23325:1103)\n    at ti (B:/~BUN/root/src/entrypoints/cli.js:2577:21360)\n    at Au (B:/~BUN/root/src/entrypoints/cli.js:2577:40453)\n    at Q6 (B:/~BUN/root/src/entrypoints/cli.js:2577:51374)\n    at Dye (B:/~BUN/root/src/entrypoints/cli.js:2577:89044)\n    at Pye (B:/~BUN/root/src/entrypoints/cli.js:2577:87995)\n    at Eue (B:/~BUN/root/src/entrypoints/cli.js:2577:87814)\n    at fv (B:/~BUN/root/src/entrypoints/cli.js:2577:84079)\n    at bt (B:/~BUN/root/src/entrypoints/cli.js:2577:6660)","timestamp":"2026-08-16T16:38:58.884Z"}]

View original on GitHub ↗

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