[Bug] Anthropic API Error: Invalid previous_message_id format in conversation context

Resolved 💬 3 comments Opened May 12, 2026 by fmachella Closed May 16, 2026

Bug Description
i receive after login: API Error: 400 diagnostics.previous_message_id: must be the id from a prior /v1/messages response (starts with msg_)

Environment Info

  • Platform: darwin
  • Terminal: pycharm
  • Version: 2.1.129
  • Feedback ID: e47cb44b-c8ed-4514-ad02-e06935a50e29

Errors

[{"error":"Error: console.error: [bun] Warning: ws.WebSocket 'unexpected-response' event is not implemented in bun\n    at K (/$bunfs/root/src/entrypoints/cli.js:541:12128)\n    at emitWarning (ws:43:42)\n    at #onOrOnce (ws:170:18)\n    at lw6 (/$bunfs/root/src/entrypoints/cli.js:7611:4498)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T17:35:36.485Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T17:59:28.339Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T18:16:47.876Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T19:03:42.501Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T19:48:29.989Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T20:10:50.586Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (26156 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Kg7 (/$bunfs/root/src/entrypoints/cli.js:4855:12970)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T08:28:07.840Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/qmates/dev/experiments/dungeon_master/src/dungeon_master/agents/narrator/phases'\n    at GzH (/$bunfs/root/src/entrypoints/cli.js:1561:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T09:05:07.458Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T09:23:15.908Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T11:02:45.444Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/qmates/dev/experiments/dungeon_master.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4863:11360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T11:35:41.755Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/qmates/dev/experiments/dungeon_master.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4863:11360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T11:43:13.211Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (28120 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Kg7 (/$bunfs/root/src/entrypoints/cli.js:4855:12970)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T11:51:34.502Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T18:14:47.694Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/qmates/dev/experiments/dungeon_master/src/dungeon_master/domain/mechanics/actions'\n    at GzH (/$bunfs/root/src/entrypoints/cli.js:1561:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T19:16:05.521Z"},{"error":"Error: Stream idle timeout - partial response received\n    at RXK (/$bunfs/root/src/entrypoints/cli.js:8948:14189)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T19:43:48.027Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/qmates/dev/experiments/dungeon_master.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4863:11360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-07T21:54:59.152Z"},{"error":"Error: File content has changed since it was last read. This commonly happens when a linter or formatter run via Bash rewrites the file. Call Read on this file to…

Note: Content was truncated.

View original on GitHub ↗

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