Error when building a machine snapshot

When trying to create a snapshot for the background agent I got the following error:

[Status] Creating default environment… (Request ID: ■■■-■■■-■■■)
[Warning] Failed to create default environment: [invalid_argument] Error
[Retry] Retrying in 2 seconds (Attempt 2/3)…
[Status] Creating default environment… (Attempt 2/3) (Request ID: ■■■-■■■-■■■)
[Warning] Failed to create default environment: [invalid_argument] Error
[Retry] Retrying in 2 seconds (Attempt 3/3)…
[Status] Creating default environment… (Attempt 3/3) (Request ID: ■■■-■■■-■■■)
[Error] Failed to create default environment after 3 attempts: [invalid_argument] Error

Environoments

Version: 0.50.202505122344-nightly
VSCode Version: 1.96.2
Commit: b169c040a65ed007edfb431f6f7007fd0cd7b879
Date: 2025-05-13T00:00:32.143Z (14 hrs ago)
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Version: 0.50.3
VSCode Version: 1.96.2
Commit: 7ae22cf8cd5af9e08b62585dd03d10f5f610acf0
Date: 2025-05-13T02:21:11.278Z (12 hrs ago)
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

1 Like

Same, but unauthenticated error

[Warning] Failed to create default environment: [unauthenticated] Error

same

I have the same issue? What can be done to fix it?

same error here

Version: 0.50.7
VSCode Version: 1.96.2
Commit: 02270c8441bdc4b2fdbc30e6f470a589ec78d600
Date: 2025-05-24T18:19:58.349Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

Disabling privacy mode worked for me.

Incredible that multiple users, including me, are having this issue and posting here and there is no answer about it for 20 days.