You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.. #330595
Getting this error with the latest version of vscode:
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
This error happens trying to load the Claude extension or the Git Graph extension.
VS Code version: Code 1.133.0 (a5b5009, 2026-08-11T22:14:08Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Activity
gjsjohnmurray commentedon Aug 13, 2026
IIRC this error has occasionally been reported over many years without the root cause being traced. Restarting VS Code typically cures it.
athoma13 commentedon Aug 13, 2026
Yup, another restart solved it. Thanks