Skip to content

Codex Desktop dictation accepts long recordings it cannot transcribe, then loses unrecoverable audio #21408

Open

Description

@achievevitality

Summary

Codex Desktop currently lets a user record a long in-app voice dictation that appears to exceed what the ASR/transcription flow can reliably process. When transcription fails, the raw audio is not exposed to the user in any recoverable form.

This creates a high-impact data-loss failure mode: Codex accepts the user’s spoken work, fails after the fact, shows a Retry state for a while, and can then lose the only copy of the original audio.

What happened

On May 5, 2026, I recorded a long voice-to-text capture inside the Codex desktop app. The recording was approximately 20-30 minutes and contained important, difficult-to-reconstruct business/system-design material.

Codex accepted the recording, attempted transcription, and failed with:

{"detail":"Error in ASR API"}

After the failure, the UI showed a Retry button instead of the microphone button, which strongly suggested that Codex still believed there was an audio payload available to retry. Repeated retries failed. Later, the Retry button disappeared, and the original audio was no longer recoverable.

A fresh short dictation in another Codex window worked, so this appeared to be payload-specific rather than a total ASR outage.

User impact

  • A long, high-value original dictation was lost.
  • The material was not easily reproducible because it was a live conceptual capture.
  • The Retry state created false hope that the audio still existed somewhere.
  • Recovery required substantial time and local diagnostic effort.
  • I can no longer trust Codex in-app dictation for long or important captures.

This matters because Codex is often used for deep project work where voice capture is the most natural way to transfer complex context. This failure mode can cause real loss of thought-work, not just inconvenience.

Local recovery observations

During recovery, I inspected the local Codex/Electron process state and filesystem activity. Relevant observations:

  • Main Codex process PID at the time: 73650
  • Renderer PID at the time: 73668
  • App-server PID at the time: 73661
  • The renderer held fd 12 open at 4,415,253 bytes in a temporary .com.openai.codex.* file.
  • lsof could see the fd, but the file was not recoverable through normal user-accessible paths.
  • lldb attach was denied by macOS/hardened runtime, even with sudo.
  • fs_usage monitoring during retries did not produce useful recoverable file events.
  • ~/.codex/transcription-history.jsonl contained successful transcriptions only, not the failed one.

These observations suggest the recording may have exceeded an internal duration, size, payload, or timeout limit, or the retained Retry payload may have been incomplete/corrupt.

Expected behavior

Codex should never allow a user to record more audio than the app can safely process or preserve.

At minimum, Codex should behave more like ChatGPT voice capture, where recording is cut off after a defined safe limit rather than allowing a user to record indefinitely and then failing after the fact.

Requested product changes

Please consider adding safeguards such as:

  1. Hard recording limit: if Codex dictation cannot reliably process recordings beyond a certain duration or size, stop recording before that limit and explain why.
  2. Visible duration/countdown indicator while recording.
  3. Preflight warning before users exceed a safe transcription length.
  4. Preservation of failed audio, with options such as Download audio, Save audio locally, Retry transcription, or Send failed audio to support.
  5. Do not remove Retry without preserving the payload or clearly telling the user what happened.
  6. Include failed attempts in transcription history, with timestamp, duration, file size if known, error message, and whether audio was retained.
  7. Replace {"detail":"Error in ASR API"} with a user-actionable error that distinguishes length, size, timeout, network/server, or corrupt/unsupported audio failures.

Desired outcome

The minimum acceptable behavior is a hard cutoff before Codex accepts an audio payload it cannot safely process. The better behavior is a resilient long-capture workflow with chunking plus local recovery of failed audio.

Activity

  1. added
    bug
    app
    on May 6, 2026
  2. Nathasan1410 commented on Jun 1, 2026

    @Nathasan1410

    I hit the same failure mode on Windows with Codex Desktop.

    Environment

    Codex App: 26.527.3686.0

    Package Path: OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0

    Platform: Microsoft Windows NT 10.0.26200.0 x64

    Subscription: Plus

    Date Observed: 2026-06-02

    Recording Duration: ~29m20s (1760.573875s)

    Issue Summary

    A long-form thesis dictation failed during transcription, displaying an Unable to transcribe audio red toast notification. Retrying the request was unsuccessful, and the application UI did not expose a way to save or export the raw audio, creating a significant risk of permanent data loss.

    Technical Details

    Observed failure: The application triggered a POST request to https://chatgpt.com/backend-api/transcribe, which returned an HTTP 500 error:

    {"detail":"Error in ASR API"}

    Recovery note: The audio was recoverable from local process memory after the failure, which suggests the recording still existed locally at least temporarily.

    Audio metadata via ffprobe:

    Format: audio/webm
    Codec: opus
    Sample Rate: 48000 Hz
    Channels: 1
    Duration: 1760.573875s
    Size: 28,348,593 bytes
    

    Impact

    The lack of local audio persistence or export functionality during transcription failures creates a significant risk for users relying on dictation for academic work, meeting notes, and accessibility workflows.

    Suggested Improvements

    • Preserve audio locally before sending it to the ASR/transcription endpoint.
    • On transcription failure, show actions for:
      • Retry
      • Save/Export Audio
      • Delete Recording
    • Optionally move failed recordings to a dedicated, user-accessible recovery directory.
    • Provide more specific backend error feedback rather than only a generic Unable to transcribe audio message.
    • Consider auto-splitting long recordings to reduce ASR failure risk.

    Note: Recovered audio was not attached because it contains sensitive academic/thesis content.

  3. otmanm commented on Sep 9, 2026

    @otmanm

    I reproduced this failure in Codex Desktop for macOS with a 24:40 dictation.

    The recording was saved, but Codex remained on “Transcribing...” and Retry ended with “Unable to transcribe audio.” The failure did not provide the failed stage, a useful diagnostic, or a direct recovery path using the saved recording.

    Recovering the transcript took approximately 15 minutes and transferred the entire workflow back to me:

    • Locate the saved WebM recording.
    • Try two installed transcription applications.
    • Encounter two additional format/open failures.
    • Stop unproductive Codex recovery operations.
    • Convert WebM to MP3.
    • Import the MP3 into another application.
    • Select a transcription model manually.
    • Wait for and monitor transcription.
    • Configure the export.
    • Inspect and copy the generated text.
    • Return the recovered result and screenshots to Codex.

    I needed three screenshots to preserve evidence of the original failure, the manual transcription progress, and the recovered files.

    The recording itself was not unusable. ffmpeg converted it successfully, and the already-installed whisper.cpp CLI can transcribe audio locally on the same machine using its CPU path.

    Requested improvements:

    • Surface practical duration or size limits before accepting a long recording.
    • Preserve and clearly expose the recording after transcription failure.
    • Report the failed stage and a useful diagnostic instead of only a generic toast.
    • Allow the saved recording to be retried directly.
    • Provide an automatic supported-format conversion or local fallback instead of forcing the user into a multi-application recovery process.
    • Never make a successfully saved recording effectively unrecoverable from the original dictation interface.

    Related generic macOS report: #18460. I am placing the detailed evidence here rather than duplicating the same comment because this issue most closely matches the long-recording failure.

    AI helped reconstruct the bounded friction timeline from local evidence. I reviewed and verified the claims before publication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions