Skip to content

Desktop account data export returns reauth_required immediately after fresh sign-in; web export succeeds #59801

Open

Description

@a1609157734-bot

Environment

  • Product: Codex / ChatGPT Windows desktop app
  • App version reported by the built-in updater: 26.1029.61003
  • Build: 24614
  • Installed release channel: prod
  • Windows package version: 26.1029.7803.0
  • The built-in update check returned up_to_date for this installation's configured channel.

Problem

The desktop app's Data Controls account export returns HTTP 401 with reauth_required, including immediately after a fresh browser authentication and a successful desktop login. The same account successfully submitted an export request on chatgpt.com. Retrying the desktop export after that web success still returns the same error.

Reproduction and evidence

  1. In the Windows desktop app, open Settings → Data Controls / Data Management → Export data.
  2. Confirm the export. The app says to sign in again.
  3. Sign out and complete a fresh authentication in the browser, then return to the desktop app.
  4. The desktop app logs account_login_completed with success=true.
  5. Immediately request the desktop export again. It still returns the following response from POST /accounts/data_export:
{"detail":{"message":"Recent login required","code":"reauth_required"}}

Observed on 2026-11-06 (UTC):

  • 02:19:50: fresh authentication time recorded in local authentication metadata.
  • 02:19:53.119: desktop log confirms successful login.
  • 02:20:10.469: desktop export returns 401 / reauth_required.
  • Later, the user successfully submitted an export request on chatgpt.com using the same account.
  • 02:57:04.843: retrying the desktop export after the web success still returns 401 / reauth_required.

The export flow was also checked read-only in the installed frontend: it requests the ChatGPT account export and expects email delivery. It is separate from a manual backup of local Codex files.

Expected behavior

After successful recent authentication, the desktop app should submit the export request, show an existing-export-in-progress response where applicable, or provide a working authentication flow that satisfies the endpoint's requirements.

Scope and uncertainty

The web result shows that the account can submit an export request. It narrows the investigation to the desktop export flow and how the service evaluates its authentication context. It does not establish the exact client/server defect.

No application package was modified, authentication checks were not disabled, and credentials were not removed. This report intentionally excludes tokens, cookies, email addresses, user IDs, local usernames/paths, conversation contents, and full logs.

Activity

  1. added
    bug
    app
    windows-os
    auth
    on Nov 6, 2026
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

    appauthbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions