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
Persistent "Unable to transcribe audio" issue #18460
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.415.32059 (1789)
What subscription do you have?
Plus
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
Codex Desktop voice dictation is unreliable and usually fails with a popup saying Unable to transcribe audio.
What steps can reproduce the bug?
macOS microphone permission for Codex is enabled
live microphone levels appear in both macOS Sound settings and inside Codex
transcription sometimes works, but usually fails with only the generic popup Unable to transcribe audio
the microphone button path feels flaky, the first click often doesn't register and only causes a brief flicker of nearby UI elements (selected model and reasoning level dropdowns)
holding ^M to dictate seems seems somewhat more reliable, but also fails regularly
failures reproduce across threads and still occur after app restart or full reboot
local Codex logs under ~/.codex/logs_2.sqlite do not show the underlying transcription error
in the ChatGPT desktop app, using the same account, transcription works fine
What is the expected behavior?
Voice dictation should work reliably every time, like in previous versions of Codex
Additional information
No response
Reacted by Ben, Justin Räker, 子龙山人, Somesh, Hadi, stylethemes, David Francisco, Rory Mitchell, Kyle Goodrick, twilight-slider and 6 more
Dictation repeatedly fails with the user-facing message: Unable to transcribe audio
This started this morning and still reproduces after retrying.
My microphone setup has not changed.
Local evidence does not point to a macOS microphone permission failure.
Relevant local Codex Sentry breadcrumb from the failure at 2026-05-07 10:20:33 CST:
[electron-message-handler] [Composer] dictation failed errorMessage="{\"detail\":{\"detail\":\"Transcription is temporarily unavailable. Please try again shortly.\",\"retry_after_seconds\":30}}" errorName=Error
This looks like the dictation request is reaching the transcription path, but the remote transcription service is returning temporary unavailability rather than Codex failing to access the microphone locally.
Reacted by Hridu Jain, stylethemes, dgmolina-ti, David Francisco, Tobias, twilight-slider, Nikolai Leon and Alejandro Danos
The visible UI only shows the generic toast plus retry icon; it does not say whether the failure is microphone permission, capture failure, backend transcription failure, network, auth/org selection, or unsupported audio.
From the UI it is unclear whether audio was successfully captured and failed during transcription, or whether capture never started.
User impact/request:
Please expose a more actionable error message for dictation failures.
If possible, include a recover/retry path and/or a pointer to relevant diagnostics/logs so users can distinguish local capture problems from backend transcription problems.
I ran into this issue on Codex Desktop for Windows. Dictation kept failing with “unable to transcribe audio.” My mic was not the real problem.
What we found: Codex was trying to send the audio to its transcription service, but instead of getting a normal transcription response back, it was getting a Cloudflare “enable JavaScript/cookies” challenge page. In plain English: Codex’s built-in browser/session got into a bad login/cookie state, so the transcription request was being blocked before it could actually transcribe anything.
The fix that worked for me was to fully reset Codex’s local web/session profile. This makes Codex rebuild its internal browser state. You will probably have to sign in again after doing this.
After Codex reopened and I signed back in, dictation started working again on the first try.
Notes:
Restarting Codex alone did not fix it for me.
Clearing only cookies/cache helped a little, but did not fully fix it.
The full reset of %APPDATA%\Codex\web\Codex is what fixed it.
The old folder is not deleted; it is renamed as a backup.
Do not try launching Codex directly from C:\Program Files\WindowsApps...; Windows may block that. The explorer.exe shell:AppsFolder command is the correct way to relaunch the Store app.
UPDATE:
This was not actually fixed by the earlier cleanup/reset. Clearing Codex’s local web/profile/cache state made dictation work for a little while, but then the same problem came back. It went back to needing multiple clicks, refreshes, or just failing with “unable to transcribe audio.”
What we found after digging deeper:
The failure does not look like a microphone problem. It looks like Codex Desktop sometimes uses the older /backend-api/transcribe route, and that route can return a Cloudflare HTML challenge page instead of a real transcription response. When that happens, Codex reports it as a transcription failure.
The local workaround that made it work again was to force Codex Desktop to use the streaming dictation path instead of the older /transcribe path.
What we did locally:
Copied the Codex Desktop app out of the protected WindowsApps install location into a normal local folder.
Left the official Store-installed app untouched.
Patched only the copied app.asar.
Changed two dictation feature-flag checks so streaming dictation is always enabled.
In plain English: instead of letting Codex ask “should I use streaming dictation?”, we forced the answer to “yes.”
The two effective changes were basically:
n = A(L) -> n = true
t = oe(se) -> t = true
After that, dictation started working on the first click again in repeated tests.
Important: this is not a real upstream fix. It is an unofficial local workaround that proves the issue is likely in Codex Desktop’s dictation routing/fallback behavior, not the user’s mic.
The real fix should probably be:
Stop falling back to the old /backend-api/transcribe route for desktop dictation when it is returning Cloudflare/HTML instead of transcription data.
Prefer or force the streaming dictation path for affected desktop users.
Detect when the response is an HTML Cloudflare page and show the real error instead of treating it like a microphone/transcription failure.
Make the error message useful, because “unable to transcribe audio” is misleading here.
Short version: the earlier reset only helped temporarily. The issue came back. Forcing streaming dictation in the desktop app is what made it reliable again locally.
Update after more testing:
Forcing streaming dictation did not make the issue completely disappear, but it made the problem much less severe.
Before this workaround, Codex Desktop could get stuck failing indefinitely. I could click transcribe/send 15 times and it still would not go through, which meant I lost what I said.
After forcing streaming dictation on, I still occasionally get a failed attempt, but refreshing/retrying gets it to transcribe instead of being permanently stuck.
So the workaround is not a full fix, but it seems to change the failure mode from “completely unusable” to “intermittently flaky but recoverable.”
The original finding still stands: the old /backend-api/transcribe path can return a Cloudflare HTML challenge instead of transcription data, and Codex reports that as “unable to transcribe audio.” Forcing the streaming dictation path avoids that failure much of the time, but there also appears to be a separate intermittent startup/recording issue where an attempt may fail before it reaches transcription.
Reacted by Théophile Wallez, Alex Feinstein, Alejandro Danos and gdszyy
Activity
github-actions commentedon Apr 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
someshfengade commentedon Apr 30, 2026
+1
Version 26.422.71525 (2210)
logged in codex with API key the error is failed to transcribe
jambronner commentedon May 7, 2026
I am seeing this same issue on macOS in Codex Desktop.
In-app bug report / thread ID:
019e032d-c890-73f3-830d-505a05e3c27cEnvironment:
26.429.61741([email protected])Darwin 25.4.0 arm64 arm26.4.1build25E25341.2.0Observed behavior:
Unable to transcribe audioRelevant local Codex Sentry breadcrumb from the failure at
2026-05-07 10:20:33 CST:This looks like the dictation request is reaching the transcription path, but the remote transcription service is returning temporary unavailability rather than Codex failing to access the microphone locally.
twilight-slider commentedon May 21, 2026
Same error on Windows 10 Pro
Codex 26.519.21041
Subscription: Pro 100
g471000 commentedon Jun 4, 2026
Same error on Mac M1
Codex Version 26.527.31326 (3390)
Subscription: Pro
huanlu-ai commentedon Jun 8, 2026
Additional report from macOS Codex Desktop today.
Observed UI symptom:
Context:
User impact/request:
nleononline commentedon Jun 22, 2026
Up. Fix please
LiamCarlin commentedon Jun 27, 2026
Got the same error "Unable to transcribe audio"
Mac M1
Subscription Pro
ulyktey commentedon Jun 27, 2026
Got the same error "Unable to transcribe audio"
Mac M4
Subscription Pro
bradleyjsimons commentedon Jun 27, 2026
Same here: "Unable to transcribe audio"
Mac M1
Subscription Pro
cl-fi commentedon Jun 27, 2026
Got the same error "Unable to transcribe audio"
Mac M4
Subscription Pro
LiamCarlin commentedon Jun 27, 2026
Mine is up and running again - strange that I didn't do anything (didn't even update app)
theophile-wallez commentedon Jul 5, 2026
Same
cdo13 commentedon Jul 5, 2026
I ran into this issue on Codex Desktop for Windows. Dictation kept failing with “unable to transcribe audio.” My mic was not the real problem.
What we found: Codex was trying to send the audio to its transcription service, but instead of getting a normal transcription response back, it was getting a Cloudflare “enable JavaScript/cookies” challenge page. In plain English: Codex’s built-in browser/session got into a bad login/cookie state, so the transcription request was being blocked before it could actually transcribe anything.
The fix that worked for me was to fully reset Codex’s local web/session profile. This makes Codex rebuild its internal browser state. You will probably have to sign in again after doing this.
On Windows, open PowerShell and run:
Get-Process Codex -ErrorAction SilentlyContinue | Stop-Process -Force
$stamp = Get-Date -Format "yyyyMMdd-HHmmss"
$profile = "$env:APPDATA\Codex\web\Codex"
Rename-Item $profile "Codex-web-backup-$stamp"
explorer.exe "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"
After Codex reopened and I signed back in, dictation started working again on the first try.
Notes:
UPDATE:
This was not actually fixed by the earlier cleanup/reset. Clearing Codex’s local web/profile/cache state made dictation work for a little while, but then the same problem came back. It went back to needing multiple clicks, refreshes, or just failing with “unable to transcribe audio.”
What we found after digging deeper:
The failure does not look like a microphone problem. It looks like Codex Desktop sometimes uses the older
/backend-api/transcriberoute, and that route can return a Cloudflare HTML challenge page instead of a real transcription response. When that happens, Codex reports it as a transcription failure.The local workaround that made it work again was to force Codex Desktop to use the streaming dictation path instead of the older
/transcribepath.What we did locally:
app.asar.In plain English: instead of letting Codex ask “should I use streaming dictation?”, we forced the answer to “yes.”
The two effective changes were basically:
n = A(L)->n = truet = oe(se)->t = trueAfter that, dictation started working on the first click again in repeated tests.
Important: this is not a real upstream fix. It is an unofficial local workaround that proves the issue is likely in Codex Desktop’s dictation routing/fallback behavior, not the user’s mic.
The real fix should probably be:
/backend-api/transcriberoute for desktop dictation when it is returning Cloudflare/HTML instead of transcription data.Short version: the earlier reset only helped temporarily. The issue came back. Forcing streaming dictation in the desktop app is what made it reliable again locally.
Update after more testing:
Forcing streaming dictation did not make the issue completely disappear, but it made the problem much less severe.
Before this workaround, Codex Desktop could get stuck failing indefinitely. I could click transcribe/send 15 times and it still would not go through, which meant I lost what I said.
After forcing streaming dictation on, I still occasionally get a failed attempt, but refreshing/retrying gets it to transcribe instead of being permanently stuck.
So the workaround is not a full fix, but it seems to change the failure mode from “completely unusable” to “intermittently flaky but recoverable.”
The original finding still stands: the old
/backend-api/transcribepath can return a Cloudflare HTML challenge instead of transcription data, and Codex reports that as “unable to transcribe audio.” Forcing the streaming dictation path avoids that failure much of the time, but there also appears to be a separate intermittent startup/recording issue where an attempt may fail before it reaches transcription.