[Bug] Anthropic API Error: Unexpected 500 Server Errors
Resolved 💬 2 comments Opened Apr 13, 2026 by n8m8 Closed Apr 13, 2026
Bug Description
API 500 errors at unexpected times
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.1.104
- Feedback ID: e30ed8c9-fa0a-4dc7-b941-79807f793c7f
Errors
● Bash(.venv/Scripts/python.exe -m pytest tests/unit tests/integration -q 2>&1 | tail -25)
⎿ tests\integration\test_library_scenes.py .. [ 67%]
tests\integration\test_match_lifecycle_us1.py .. [ 68%]
tests\integration\test_mlp_and_reinforce.py ....... [ 73%]
tests\integration\test_performance_targets.py . [ 73%]
tests\integration\test_pick_ban_us1.py ... [ 76%]
tests\integration\test_portability_round_trip.py ...x [ 78%]
tests\integration\test_regression_replay_consistency.py .. [ 80%]
tests\integration\test_render_smoke.py . [ 80%]
tests\integration\test_replay_fidelity_us2.py .. [ 82%]
tests\integration\test_reward_config.py ....... [ 86%]
tests\integration\test_rollout_recorder.py .. [ 88%]
tests\integration\test_threaded_viewer.py ... [ 90%]
tests\integration\test_training_bc_dataset.py .. [ 91%]
tests\integration\test_vec_live_match_scene.py .. [ 93%]
tests\integration\test_vec_viewer_smoke.py ... [ 95%]
tests\integration\test_vectorized_env.py ... [ 97%]
tests\integration\test_vectorized_env_smoke.py .... [100%]
============================== warnings summary ===============================
.venv\Lib\site-packages\pygame\pkgdata.py:25
C:\Users\walls\workplace\league-of-agents\.venv\Lib\site-packages\pygame\pkgdata.py:25: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import resource_stream, resource_exists
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
= 141 passed, 1 skipped, 2 xfailed, 2 xpassed, 1 warning in 110.40s (0:01:50) =
⎿ (timeout 10m)
10:40 AM <synthetic>
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca22GigZgr5BnP88yf1oM"}
[{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:08:27.791Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:08:34.842Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:08:45.478Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\gui\\scenes\\threaded_viewer.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:08:52.482Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\app.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\app.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:08:58.742Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\app.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\app.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:09:03.463Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\walls\\AppData\\Local\\Temp\\claude\\C--Users-walls-workplace-league-of-agents\\e4368787-49d7-4678-925f-72d266f43c72\\tasks\\adfe4c35d7134a924.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T15:13:51.208Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_trainer.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_trainer.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:17:38.981Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:18:05.995Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:18:11.890Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:18:24.253Z"},{"error":"nNK: Diagnostics file path mismatch: expected C:\\Users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py, got file://c:\\users\\walls\\workplace\\league-of-agents\\src\\agents\\vectorized_env.py/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:1656:21953)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:18:29.963Z"},{"error":"nNK: Diagnostics file path mismatch: expec…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗