VS Code extension authentication fails after update (attachAuth=false, GET /settings/user returns 403)
What version of the IDE extension are you using?
openai.chatgpt-26.5721.30844-win32-x64
What subscription do you have?
openai.chatgpt-26.5721.30844-win32-x64
Which IDE are you using?
Visual Studio Code 1.130.0
What platform is your computer?
Windows 11 x64
What issue are you seeing?
The ChatGPT VS Code extension fails to authenticate.
The sidebar only displays:
Oops, something went wrong
The ChatGPT website, Codex website and platform.openai.com all work correctly with the same account.
Environment:
- VS Code 1.130.0
- Windows 11 x64
- Extension: openai.chatgpt-26.5721.30844-win32-x64
- Login: Google
- Subscription: ChatGPT Pro
Output log:
routePattern=/settings/user
status=403
attachAuth=false
attachIntegrityState=false
Additional observations:
- ChatGPT Web works correctly.
- Codex Web works correctly.
- Platform works correctly.
- The account is authenticated.
- Reinstalling the extension did not help.
- Tested both Release and Pre-Release.
- VS Code is fully updated.
- The extension does not expose any Sign In or Sign Out command.
- The request to
/settings/useris sent withattachAuth=false, which results in HTTP 403.
The issue started suddenly after previously working normally.
The extension was working until approximately 01:00 (local time). Around 07:00 on the same day it started consistently showing "Oops, something went wrong" without any local configuration changes.
If needed, I can provide:
- VS Code Output logs
- Developer Tools logs
- Network logs
- Screenshots
What steps can reproduce the bug?
- Install the ChatGPT VS Code extension (openai.chatgpt-26.5721.30844-win32-x64).
- Sign in using a Google account with an active ChatGPT Pro subscription.
- Open the ChatGPT sidebar.
- Open the Codex panel.
- The panel immediately displays:
Oops, something went wrong
- Open View → Output → Codex.
- The following log appears:
routePattern=/settings/user
status=403
attachAuth=false
attachIntegrityState=false
The issue happens consistently on every VS Code restart.
What is the expected behavior?
The ChatGPT/Codex extension should authenticate successfully and display the normal Codex interface without any authentication errors.
Additional information
Additional information:
- ChatGPT Web works correctly.
- Codex Web works correctly.
- platform.openai.com works correctly.
- Login is performed with Google.
- Subscription is ChatGPT Pro.
- The issue started suddenly after previously working normally.
- Reinstalling the extension did not help.
- Tested both Release and Pre-Release versions.
- VS Code is fully updated.
- The extension does not expose any Sign In or Sign Out command.
- Output log consistently shows:
routePattern=/settings/user
status=403
attachAuth=false
attachIntegrityState=false
- The extension attempts to access /settings/user without attaching authentication.
<img width="1227" height="1022" alt="Image" src="https://github.com/user-attachments/assets/5b7aba7c-d402-4fe4-b92b-96d2065adf79" />
<img width="1185" height="222" alt="Image" src="https://github.com/user-attachments/assets/47e7a002-58a3-4b59-a1ad-2d95fc56362f" />
<img width="1227" height="1022" alt="Image" src="https://github.com/user-attachments/assets/7558b185-7b32-4f95-9769-bb897422dcc8" />
7 Comments
Experiencing this same issue
This appears related to #35182. In my case, the Codex Output log also consistently shows:
routePattern=/settings/user
status=403
attachAuth=false
attachIntegrityState=false
ChatGPT Web and Codex Web work normally with the same ChatGPT Pro account.
Another Windows user confirms the same failure pattern:
chatgpt-account-lookupreportsauthenticatedAccountPresent=true403 Forbiddenfor/settings/usererror boundaryAffected version:
v26.721.30844.Downgrading specifically to
v26.715.61943immediately restored normal operation. This strongly suggests a regression introduced inv26.721.30844or its associated auth request path rather than missing Codex account permissions or damaged local session data.Thank you for sharing this!
Your comment helped me identify the root cause. I downgraded from v26.721.30844 to v26.715.61943, restarted the extension, and the issue was resolved immediately.
This confirms that the problem is very likely a regression introduced in v26.721.30844 rather than an account or local configuration issue.
I really appreciate you taking the time to post the workaround—it saved me a lot of troubleshooting.
Thanks!
Thanks... this fixed the issue
It did not help downgrading to that version, still same error
2026-07-25 21:02:06.225 [error] Error fetching httpStatus=403 requestId=a20f7a19ea8bd597-SCL statusText=Forbidden url=/settings/user
2026-07-25 21:02:06.332 [warning] sa_server_request_failed attachAuth=false attachIntegrityState=false error={} hasRequestBody=false method=get requestHeaderNames=["OAI-Language","User-Agent","oai-did","originator","sec-ch-ua","sec-ch-ua-mobile","sec-ch-ua-platform"] routePattern=/settings/user status=403 url=/settings/user
2026-07-25 21:02:06.595 [warning] [git] git.command.complete aborted=false allowedNonZeroExitCodes=null argsCount=3 command="git -c core.hooksPath=NUL -c core.fsmonitor= config --get remote.origin.url" commandArgs=["git","-c","core.hooksPath=NUL","-c","core.fsmonitor=","config","--get","remote.origin.url"] cwd=C:\Users\diego\OneDrive\Developments\private\.git durationMs=58 exitCode=1 failureReason=command_failed hostId=local id=7202ab55 isRemote=false outputLimitExceeded=false outputLimitMaxBytes=null outputLimitStream=null requestKind=git-origins source=sidebar_workspace_groups startTimeMs=1785027726536 stderrBytes=0 stdoutBytes=0 subcommand=config success=false timedOut=false
2026-07-25 21:02:14.152 [error] Error fetching httpStatus=403 requestId=a20f7a4b7bcde7ab-SCL statusText=Forbidden url=/settings/user
2026-07-25 21:02:14.153 [warning] sa_server_request_failed attachAuth=false attachIntegrityState=false error={} hasRequestBody=false method=get requestHeaderNames=["OAI-Language","User-Agent","oai-did","originator","sec-ch-ua","sec-ch-ua-mobile","sec-ch-ua-platform"] routePattern=/settings/user status=403 url=/settings/user
2026-07-25 21:02:14.153 [warning] sa_server_request_failed attachAuth=false attachIntegrityState=false error={} hasRequestBody=false method=get requestHeaderNames=["OAI-Language","User-Agent","oai-did","originator","sec-ch-ua","sec-ch-ua-mobile","sec-ch-ua-platform"] routePattern=/settings/user status=403 url=/settings/user
<img width="282" height="141" alt="Image" src="https://github.com/user-attachments/assets/f566be92-9f7a-4f10-b894-a4fe9e545c12" />
Adding a reproduction from today's release on macOS — this is still occurring and got significantly worse with 26.5818.21641 (published 2026-08-20 ~03:08 UTC), which auto-updated mid-session.
Environment
Symptoms after the auto-update
Error creating chatshowing a serialized internal object instead of a real error:{"value":{},"source":"owned","hooks":[],"promises":[]}— the same payload appears in Codex.log for several distinct failures, so the underlying error seems to be lost before logging.~/.codex/thread-writer-locks/<conversation>.lockis recreated on every app-server restart while the thread resumes withmarkedStreaming=true, so the send lock is never released and the input stays disabled. Deleting the lock file does not help — it is recreated within a minute.What is NOT broken
codex execusing the same~/.codex/auth.jsoncompletes a model call successfully.Same root signature as the OP: the
/settings/userrequest goes out withattachAuth=falseand returns 403 (Cloudflare edge). Everything downstream (config requirements load, send-lock release, chat creation) fails from there.Workaround that fully restored the extension for me:
code --install-extension openai.chatgpt@26.814.41407(marketplace 26.5814.41407)"pinned": truefor the entry in~/.vscode/extensions/extensions.json) so auto-update does not reinstall the broken buildPossibly related: #37856, #38876 (stale writer-lock / thread-owner blocking chat creation).