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
Voice dictation fails with 403 Forbidden in Codex VS Code extension #49351
Voice dictation in the Codex VS Code extension no longer works. Starting dictation briefly shows “Dictation stopped” and no text is inserted.
The same ChatGPT account can use voice dictation normally in the ChatGPT macOS desktop app.
Environment
macOS, Apple Silicon
VS Code
Codex extension: openai.chatgpt version 26.917.62051
Codex Audio: version 26.917.62051
Authentication: Sign in with ChatGPT
Error
Codex logs show:
HTTP 403 Forbidden on /transcribe
followed by:
[Composer] dictation failed
Request ID:
a42b18f25937a105-CDG
The logs also showed HTTP 403 responses for /subscriptions and /accounts/optimized/check.
Troubleshooting already performed
Logged out and back into Codex
Fully restarted VS Code
Reloaded the VS Code window
Confirmed Codex and Codex Audio are up to date
Ran codex logout
Reset the local Codex authentication cache (~/.codex/auth.json)
Signed back in with ChatGPT
No VPN is being used
Internet connection otherwise works normally
The issue persists after all of these steps.
Voice dictation works normally in the ChatGPT macOS desktop application with the same account, suggesting the problem is specific to the Codex VS Code extension / transcription endpoint authentication.
Expected behavior
Starting voice dictation in the Codex composer should transcribe speech and insert the resulting text.
Actual behavior
Dictation stops and /transcribe returns HTTP 403 Forbidden.
Hi everyone, we've just deployed a server-side fix for the 403 cloudflare_challenge errors affecting dictation in the Codex VS Code extension. No extension update is required. Thanks for the reports and diagnostic info, and sorry for the disruption.
Absolutely the same issue across several PCs: Ubuntu 24.04, Windows 10 and Windows 11. Tried the same steps, nothing helps. At the same time, dictation at Claude Code extension on all the same PCs works normally.
This establishes a transcription HTTP failure in the actual extension, rather than only a synthetic curl request. It points toward the transcription request being challenged by Cloudflare; microphone permissions or audio-device configuration alone would not explain these responses. Local capture quality has not been independently verified.
Related Cloudflare transcription report: #21985. That ticket later includes an account/organisation-state recovery, but we have not established that cause for this reproduction. No alternate-network test was performed. We have not tested a logout/login, reinstall, or account/organisation repair as part of this investigation, so none is being claimed as a failed or successful fix.
Could the Codex extension/transcription backend owner investigate these request IDs and whether this client version's transcription requests are being challenged?
Follow-up reproduction on 5 October 2026: dictation is still broken in the newer VS Code Codex extension 26.930.51102 on the same Ubuntu installation described in my earlier comment.
The failing webview's stack trace explicitly references openai.chatgpt-26.930.51102-linux-x64, confirming that this newer extension was actually running, rather than merely installed. Codex Audio 26.930.51102 is also present on disk; its loaded version was not independently verified for this attempt.
The composer again shows “Dictation stopped” with Retry. The VS Code extension log records:
Timestamps are reproduced as recorded by VS Code. This confirms that the /transcribe HTTP 403 / cloudflare_challenge failure previously reported with 26.930.31730 persists with the running 26.930.51102 extension.
Please investigate request ID a458f6419e7c2aca-LHR. This update concerns dictation in the VS Code extension, not the separate Linux desktop-app keyboard shortcut issue. No additional troubleshooting or root-cause confirmation is claimed.
Just tried this, issue still present on Windows 11, Ubuntu and Arch that I've checked. I've been using Claude's transcript tool and then copying over the prompt to Codex in the meantime. Are there any other extensions anybody would recommend for voice transcripting?
Just tried this, issue still present on Windows 11, Ubuntu and Arch that I've checked. I've been using Claude's transcript tool and then copying over the prompt to Codex in the meantime. Are there any other extensions anybody would recommend for voice transcripting?
I've been using chatgpt linux desktop app...but back a few versions - dictation still works in that one :
Powered by Codex & OWL
Version 26.928.40906
Released 1 Oct 2026
iirc there are 3, maybe 4 versions after that for the desktop app, and none of them up until anything released this morning, resolve the dictation problem. So I've pinned this version, disabled updates for chatgpt desktop. Although I might be confusing this with the codex vscode ide extension - I have the same, no, similar issue - dictation not working. So I've been juggling versions.
Now I'm back to typing like some medieval foot-peasant, because having chatgpt desktop open at the same time as codex in vscode....idk, session permission conflicts, problems with git being read-only....and the accumulated problems with 'model is at capacity' etc over the last few days, means I've cut my losses with dictation for now.
Additional reproduction on 6 October 2026: Codex IDE dictation fails with HTTP 403 / cloudflare_challenge while ChatGPT desktop dictation works on the same machine and account.
The extension host activated Codex Audio through onCommand:_codex.microphone.available immediately after the main editor window reloaded. The failing webview stack explicitly references Codex 26.5930.61225. A separate local test of the installed audio helper and worker successfully captured 16 kHz PCM and stopped cleanly. The user confirmed desktop dictation works.
The original missing microphone support was addressed by installing the publisher update and its audio companion. These errors occurred after that update was loaded. Local microphone routing is working. Authentication lookup succeeds. No custom proxy was found in the extension host environment or relevant explicit editor settings. An alternate network has not been tested.
Independent synthetic requests are not treated as UI acceptance tests. Their varying results did not establish a User-Agent, multipart-format or account-state cause. No source modification or authentication reset was applied.
Please investigate the request IDs above and the IDE transcription request path. This appears to match issue #49351. A confirmed workaround or an extension/service fix would be helpful.
This draft contains no credentials, account identifiers, audio, transcripts or complete logs.
Same on Linux, and it still fails after updating to the latest extension.
Ubuntu 24.04.5, kernel 6.8, x64
VS Code 1.140.0
openai.chatgpt 26.1002.51308 and openai.codex-audio 26.1002.51308 (it also failed on 26.930.51102 before the update)
Signed in with a ChatGPT account
The microphone records and typed chat works. Every dictation ends with Error fetching httpStatus=403 ... url=/transcribe followed by [Composer] dictation failed errorMessage=cloudflare_challenge. Request IDs from after the update: a46a86593c8c8fb8-BOS and a46a859ff8d7fc44-BOS (2026-10-07, 01:31 to 01:32 EDT). Earlier ones: a46a72d8291451cb-BOS, a462241e0e884cc3-BOS.
It doesn't depend on the network: no VPN or proxy, and the result is the same over IPv4 and IPv6. From the same machine, an unauthenticated POST to chatgpt.com/backend-api/transcribe also gets cf-mitigated: challenge, while the same request to /backend-api/codex/responses gets a plain 401. So the challenge seems to be specific to /transcribe.
Dictation in other apps works on this machine. Next I'm trying the http.electronFetch workaround from #50430.
Same issue on VS Code Remote WSL with Codex extension 26.1002.51308. Browser dictation works, but Codex dictation repeatedly gets 403 cloudflare_challenge on /transcribe. Example request ID: a47122a34d59658a-LHR.
I've resorted to using Windows dictation (press Windows+H), okay workaround for now. It's been issue after issue with Codex in VS Code. Whereas never had an issue with Claude in VS Code.
Additional reproduction on 9 October 2026 on Ubuntu. This concerns Codex dictation in VS Code, separately from the Linux desktop app's missing keyboard shortcut.
Environment:
Ubuntu 26.04.1 LTS, Linux x64
VS Code 1.141.0
Running Codex extension: openai.chatgpt 26.1007.21434-linux-x64, confirmed by the failing webview stack
Codex Audio: openai.codex-audio 26.1007.21434; the extension-host log confirms activation
ChatGPT desktop app: 26.928.40906
Reproduction:
Click the microphone in the VS Code Codex composer and speak a short sentence. The waveform responds.
Press Stop (Send also consistently fails in previous attempts).
The UI shows Dictation stopped, with Retry, and no text is inserted.
The user reports consistent failure across new and existing Codex chats. Dictation in the standalone desktop app works in both new and existing chats on the same machine.
The real extension-host log confirms microphone_ready, first_audio, recording_started, then stop_requested, followed by:
Timestamps above are copied as recorded by VS Code; the workstation/user timezone is Europe/London (BST, UTC+1). Their clock basis has not been independently verified.
These are actual UI attempts, not synthetic requests. Capture starts successfully; the observed failure is the transcription HTTP request receiving a Cloudflare challenge. The trigger for that challenge remains unknown.
No restart, authentication reset, extension reinstall, network changes, or source patches were performed during today's diagnosis. Multiple other sessions are running. The proposed http.electronFetch workaround in #50430 has not been tested here.
Related reports: #49351, #50579, #50430. Please investigate the request IDs and provide a supported IDE recovery path or fix. No audio, transcripts, credentials, account IDs, or complete logs are attached.
Confirmed workaround on Windows: enabling "http.electronFetch": true in VS Code user settings and reloading the window fixed native Codex dictation for me.
Credit to @kjun1, who shared this workaround in #50430—thank you!
Environment:
VS Code on Windows x64
Codex and Codex Audio: 26.930.61225
Before the change, the microphone recorded but inserted no text. Logs showed HTTP 403 on /transcribe with cloudflare_challenge. Reloading, fully restarting VS Code, and signing out/in did not resolve it. ChatGPT web dictation, Claude dictation, and Win+H worked.
After enabling the setting and reloading, I successfully dictated a prompt through Codex’s microphone. This confirms an actual microphone-to-text test on my Windows installation.
Confirmed successful end-to-end workaround on 9 October 2026. Thank you @kjun1 for the suggestion in #50430 (comment).
On my Ubuntu 26.04.1 x64 workstation, VS Code 1.141.0, with Codex and Codex Audio 26.1007.21434:
Adding "http.electronFetch": true to the non-default Planning profile's settings did not resolve dictation; the next actual UI attempt still returned /transcribe HTTP 403 cloudflare_challenge (request ID a47f820d2fc03c8b-LHR).
We removed that entry from Planning and added it to the Default profile/application user settings, ~/.config/Code/User/settings.json.
Saved the setting without restarting or reloading VS Code, signing out/in, reinstalling extensions, changing the network, or modifying extension code.
Tested actual microphone dictation in the Codex composer: a spoken sentence was successfully transcribed and sent. The user confirmed success.
This confirms a functional Codex UI result here, beyond the original standalone API diagnostic. It does not establish the underlying reason for the Cloudflare challenge or long-term reliability. The setting changes networking for other local extensions using global fetch too; we have not systematically tested their compatibility.
Follow-up: working keyboard workaround for Codex dictation on my Ubuntu/Wayland setup (9 October 2026).
After "http.electronFetch": true in Default user settings restored transcription, we added a separate keyboard workaround because this installed Codex extension exposes no bindable start-dictation command.
A small shell script uses the already-installed/running ydotool to send five Tabs, then Enter, matching the manually verified navigation from the focused Codex composer to its microphone button.
A VS Code user task launches the script without intentionally revealing/focusing its terminal. A Ctrl+Shift+D binding in my Planning profile invokes that task in Codex sidebar/conversation/chat-session contexts.
Ctrl+Enter, already configured for Send, was verified to stop recording and send the transcript.
Repeated presses initially moved focus; we added a four-second debounce, a single-task-instance limit, and removed the conflicting Ctrl+Shift+D Show Run and Debug binding in Planning. The shorter debounce improved behavior; the final four-second value has just been configured and is not separately stress-tested.
Actual microphone dictation and the shortcut sequence worked in repeated user tests. This is a local focus-dependent workaround, not a native Codex shortcut: the composer must be focused, and a changed tab order may require updating the five-Tab sequence. It relies on ydotoold already being available; no Codex source patch or restart was used. It affects the selected profile's Ctrl+Shift+D Debug shortcut.
Confirmed workaround on Windows: enabling "http.electronFetch": true in VS Code user settings and reloading the window fixed native Codex dictation for me.
Credit to @kjun1, who shared this workaround in #50430—thank you!
Environment:
VS Code on Windows x64
Codex and Codex Audio: 26.930.61225
Before the change, the microphone recorded but inserted no text. Logs showed HTTP 403 on /transcribe with cloudflare_challenge. Reloading, fully restarting VS Code, and signing out/in did not resolve it. ChatGPT web dictation, Claude dictation, and Win+H worked.
After enabling the setting and reloading, I successfully dictated a prompt through Codex’s microphone. This confirms an actual microphone-to-text test on my Windows installation.
~written w/ Codex
Unfortunately this fix did not work for me. I'm using "remote" IDE for WSL2 (Ubuntu) projects so it appears this fix may only work for the normal windows version....
Hi everyone, we've just deployed a server-side fix for the 403 cloudflare_challenge errors affecting dictation in the Codex VS Code extension. No extension update is required. Thanks for the reports and diagnostic info, and sorry for the disruption.
Activity
github-actions commentedon Sep 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Rate limit: Unavailablewith repeated 403 from/subscriptions#48843Powered by Codex Action
NewOzzie commentedon Sep 30, 2026
Same for me
AK25789 commentedon Sep 30, 2026
Absolutely the same issue across several PCs: Ubuntu 24.04, Windows 10 and Windows 11. Tried the same steps, nothing helps. At the same time, dictation at Claude Code extension on all the same PCs works normally.
dimagenarious commentedon Sep 30, 2026
Also suffering from this for a while on VS Code on Arch
gotlisch commentedon Oct 3, 2026
Same for me.
interconnectedMe commentedon Oct 3, 2026
Additional reproduction on Ubuntu, with the explicit Cloudflare error from the real Codex VS Code UI (2026-10-03).
Environment:
openai.chatgpt-26.930.31730-linux-x64, identified from the failing webview's stack trace26.930.31730; extension-host log confirms activation viaonCommand:_codex.microphone.availableThe composer shows Dictation stopped with a Retry button. Two attempts produced the following logs (timestamps as recorded by VS Code):
This establishes a transcription HTTP failure in the actual extension, rather than only a synthetic curl request. It points toward the transcription request being challenged by Cloudflare; microphone permissions or audio-device configuration alone would not explain these responses. Local capture quality has not been independently verified.
Related Cloudflare transcription report: #21985. That ticket later includes an account/organisation-state recovery, but we have not established that cause for this reproduction. No alternate-network test was performed. We have not tested a logout/login, reinstall, or account/organisation repair as part of this investigation, so none is being claimed as a failed or successful fix.
Could the Codex extension/transcription backend owner investigate these request IDs and whether this client version's transcription requests are being challenged?
interconnectedMe commentedon Oct 5, 2026
Follow-up reproduction on 5 October 2026: dictation is still broken in the newer VS Code Codex extension 26.930.51102 on the same Ubuntu installation described in my earlier comment.
The failing webview's stack trace explicitly references
openai.chatgpt-26.930.51102-linux-x64, confirming that this newer extension was actually running, rather than merely installed. Codex Audio26.930.51102is also present on disk; its loaded version was not independently verified for this attempt.The composer again shows “Dictation stopped” with Retry. The VS Code extension log records:
Timestamps are reproduced as recorded by VS Code. This confirms that the
/transcribeHTTP 403 /cloudflare_challengefailure previously reported with 26.930.31730 persists with the running 26.930.51102 extension.Please investigate request ID
a458f6419e7c2aca-LHR. This update concerns dictation in the VS Code extension, not the separate Linux desktop-app keyboard shortcut issue. No additional troubleshooting or root-cause confirmation is claimed.jeffery-prod commentedon Oct 5, 2026
Just tried this, issue still present on Windows 11, Ubuntu and Arch that I've checked. I've been using Claude's transcript tool and then copying over the prompt to Codex in the meantime. Are there any other extensions anybody would recommend for voice transcripting?
interconnectedMe commentedon Oct 5, 2026
I've been using chatgpt linux desktop app...but back a few versions - dictation still works in that one :
Powered by Codex & OWL
Version 26.928.40906
Released 1 Oct 2026
iirc there are 3, maybe 4 versions after that for the desktop app, and none of them up until anything released this morning, resolve the dictation problem. So I've pinned this version, disabled updates for chatgpt desktop. Although I might be confusing this with the codex vscode ide extension - I have the same, no, similar issue - dictation not working. So I've been juggling versions.
Now I'm back to typing like some medieval foot-peasant, because having chatgpt desktop open at the same time as codex in vscode....idk, session permission conflicts, problems with git being read-only....and the accumulated problems with 'model is at capacity' etc over the last few days, means I've cut my losses with dictation for now.
r-spring commentedon Oct 6, 2026
Additional reproduction on 6 October 2026: Codex IDE dictation fails with HTTP 403 / cloudflare_challenge while ChatGPT desktop dictation works on the same machine and account.
Environment:
The extension host activated Codex Audio through
onCommand:_codex.microphone.availableimmediately after the main editor window reloaded. The failing webview stack explicitly references Codex 26.5930.61225. A separate local test of the installed audio helper and worker successfully captured 16 kHz PCM and stopped cleanly. The user confirmed desktop dictation works.Actual IDE logs (America/Vancouver, UTC-07:00):
The original missing microphone support was addressed by installing the publisher update and its audio companion. These errors occurred after that update was loaded. Local microphone routing is working. Authentication lookup succeeds. No custom proxy was found in the extension host environment or relevant explicit editor settings. An alternate network has not been tested.
Independent synthetic requests are not treated as UI acceptance tests. Their varying results did not establish a User-Agent, multipart-format or account-state cause. No source modification or authentication reset was applied.
Please investigate the request IDs above and the IDE transcription request path. This appears to match issue #49351. A confirmed workaround or an extension/service fix would be helpful.
This draft contains no credentials, account identifiers, audio, transcripts or complete logs.
huikku commentedon Oct 7, 2026
Same on Linux, and it still fails after updating to the latest extension.
openai.chatgpt26.1002.51308 andopenai.codex-audio26.1002.51308 (it also failed on 26.930.51102 before the update)The microphone records and typed chat works. Every dictation ends with
Error fetching httpStatus=403 ... url=/transcribefollowed by[Composer] dictation failed errorMessage=cloudflare_challenge. Request IDs from after the update:a46a86593c8c8fb8-BOSanda46a859ff8d7fc44-BOS(2026-10-07, 01:31 to 01:32 EDT). Earlier ones:a46a72d8291451cb-BOS,a462241e0e884cc3-BOS.It doesn't depend on the network: no VPN or proxy, and the result is the same over IPv4 and IPv6. From the same machine, an unauthenticated POST to
chatgpt.com/backend-api/transcribealso getscf-mitigated: challenge, while the same request to/backend-api/codex/responsesgets a plain 401. So the challenge seems to be specific to/transcribe.Dictation in other apps works on this machine. Next I'm trying the
http.electronFetchworkaround from #50430.ClemLanoe commentedon Oct 8, 2026
Same issue on VS Code Remote WSL with Codex extension 26.1002.51308. Browser dictation works, but Codex dictation repeatedly gets 403 cloudflare_challenge on /transcribe. Example request ID: a47122a34d59658a-LHR.
rafaim-bsp commentedon Oct 8, 2026
Same issue
ClemLanoe commentedon Oct 8, 2026
I've resorted to using Windows dictation (press Windows+H), okay workaround for now. It's been issue after issue with Codex in VS Code. Whereas never had an issue with Claude in VS Code.
interconnectedMe commentedon Oct 9, 2026
Additional reproduction on 9 October 2026 on Ubuntu. This concerns Codex dictation in VS Code, separately from the Linux desktop app's missing keyboard shortcut.
Environment:
openai.chatgpt 26.1007.21434-linux-x64, confirmed by the failing webview stackopenai.codex-audio 26.1007.21434; the extension-host log confirms activation26.928.40906Reproduction:
The user reports consistent failure across new and existing Codex chats. Dictation in the standalone desktop app works in both new and existing chats on the same machine.
The real extension-host log confirms
microphone_ready,first_audio,recording_started, thenstop_requested, followed by:Timestamps above are copied as recorded by VS Code; the workstation/user timezone is Europe/London (BST, UTC+1). Their clock basis has not been independently verified.
These are actual UI attempts, not synthetic requests. Capture starts successfully; the observed failure is the transcription HTTP request receiving a Cloudflare challenge. The trigger for that challenge remains unknown.
No restart, authentication reset, extension reinstall, network changes, or source patches were performed during today's diagnosis. Multiple other sessions are running. The proposed
http.electronFetchworkaround in #50430 has not been tested here.Related reports: #49351, #50579, #50430. Please investigate the request IDs and provide a supported IDE recovery path or fix. No audio, transcripts, credentials, account IDs, or complete logs are attached.
NMolina2025 commentedon Oct 9, 2026
Confirmed workaround on Windows: enabling
"http.electronFetch": truein VS Code user settings and reloading the window fixed native Codex dictation for me.Credit to @kjun1, who shared this workaround in #50430—thank you!
Environment:
Before the change, the microphone recorded but inserted no text. Logs showed HTTP 403 on
/transcribewithcloudflare_challenge. Reloading, fully restarting VS Code, and signing out/in did not resolve it. ChatGPT web dictation, Claude dictation, and Win+H worked.After enabling the setting and reloading, I successfully dictated a prompt through Codex’s microphone. This confirms an actual microphone-to-text test on my Windows installation.
~written w/ Codex
interconnectedMe commentedon Oct 9, 2026
Confirmed successful end-to-end workaround on 9 October 2026. Thank you @kjun1 for the suggestion in #50430 (comment).
On my Ubuntu 26.04.1 x64 workstation, VS Code 1.141.0, with Codex and Codex Audio 26.1007.21434:
"http.electronFetch": trueto the non-default Planning profile's settings did not resolve dictation; the next actual UI attempt still returned/transcribeHTTP 403cloudflare_challenge(request IDa47f820d2fc03c8b-LHR).~/.config/Code/User/settings.json.This confirms a functional Codex UI result here, beyond the original standalone API diagnostic. It does not establish the underlying reason for the Cloudflare challenge or long-term reliability. The setting changes networking for other local extensions using global
fetchtoo; we have not systematically tested their compatibility.The earlier desktop app shortcut regression is separate. My Community report for this VS Code transcription problem is https://community.openai.com/t/codex-in-vs-code-dictation-fails-with-http-403-cloudflare-challenge/1404658.
interconnectedMe commentedon Oct 9, 2026
Follow-up: working keyboard workaround for Codex dictation on my Ubuntu/Wayland setup (9 October 2026).
After
"http.electronFetch": truein Default user settings restored transcription, we added a separate keyboard workaround because this installed Codex extension exposes no bindable start-dictation command.ydotoolto send five Tabs, then Enter, matching the manually verified navigation from the focused Codex composer to its microphone button.Actual microphone dictation and the shortcut sequence worked in repeated user tests. This is a local focus-dependent workaround, not a native Codex shortcut: the composer must be focused, and a changed tab order may require updating the five-Tab sequence. It relies on
ydotooldalready being available; no Codex source patch or restart was used. It affects the selected profile's Ctrl+Shift+D Debug shortcut.Community report: https://community.openai.com/t/codex-in-vs-code-dictation-fails-with-http-403-cloudflare-challenge/1404658
RickKukiela commentedon Oct 12, 2026
Unfortunately this fix did not work for me. I'm using "remote" IDE for WSL2 (Ubuntu) projects so it appears this fix may only work for the normal windows version....
alexr-oai commentedon Oct 14, 2026
Hi everyone, we've just deployed a server-side fix for the
403 cloudflare_challengeerrors affecting dictation in the Codex VS Code extension. No extension update is required. Thanks for the reports and diagnostic info, and sorry for the disruption.