Agents: Session token expiration disrupts agent sessions

Open
#319,237 4 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

agents-window
Description

Ageent sessions gets disrupted with error:

Error: (authorization) Session token expired and the request could not be retried. Please resend your message. (Request ID: E428:1C4DED:488652B:55E35A1:6A1CD77F)

Issue Details
Item Value
Issue Category Bug
Target Visual Studio Code - Insiders
VS Code Version Code - Insiders 1.122.0-insider (Universal) (da03e4ef04b9338a69f2fbb638bb173ff06471f3, 2026-05-29T09:37:38-07:00)
OS Version Darwin arm64 25.5.0
System Info
Item Value
VS Code Version Code - Insiders 1.122.0-insider (Universal) (da03e4ef04b9338a69f2fbb638bb173ff06471f3, 2026-05-29T09:37:38-07:00)
OS Version Darwin arm64 25.5.0
CPUs Apple M4 Pro (14 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M4 Pro, Version 26.5 (Build 25F71))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.5 ACTIVE
Machine model name: Mac
Machine model version: 16.7
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 6, 6, 6
Memory (System) 24.00GB (0.14GB free)
Process Argv --log trace --enable-proposed-api digitarald.agent-memory --enable-proposed-api digitarald.agent-handoff --enable-proposed-api digitarald.hello-skill --crash-reporter-id 9b206efe-c338-4f34-baff-2aab1c48a82e
Screen Reader yes
VM 0%
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.122.0-insider Chrome/148.0.7778.97 Electron/42.2.0 Safari/537.36
Installation pure true
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.