Skip to content

ChatGPT Work Mode Library save fails with transfer_failed and 502 during upload commit #50679

Open

Description

@donniehoover

Summary

OpenAI support directed me to report this here after the / feedback flow was unavailable on my surface. The affected operation is a built-in Library save from ChatGPT Work Mode's cloud workspace. This has not been reproduced in the standalone Codex CLI. Please redirect to the appropriate team if this repository is not the correct tracker.

Reproduction

  1. In an existing ChatGPT Work Mode conversation, ask the agent to save three existing local files to Library: two small Markdown files and one approximately 3.36 MB PNG.
  2. The agent invokes the bundled Library Python upload helper.
  3. All three items return transfer_failed, with no saved Library file IDs.

Observed errors and times

On October 3, 2026, a retry completed at 13:17:14 EDT (17:17:14 UTC). Each item returned:

status: failed
error_code: transfer_failed
message: file transfer failed

Earlier diagnostics from the same ongoing incident recorded:

502 Bad Gateway
[Errno 111] Connection refused
When Committing block list

The detailed earlier transfer logs are no longer available. Those HTTP details were not exposed in the 13:17 retry's helper output.

A later retry around 13:25 EDT (17:25 UTC) failed earlier, before transfer, with:

library upload failed: hosted apps tools/list request failed: network

Expected behavior

The original files save successfully, and each returns its Library identity so saved bytes can be verified.

Environment and troubleshooting

  • ChatGPT Work Mode cloud workspace, built-in Library helper version 0.1.60.
  • Exact hosted Codex build/model version: unknown.
  • Earlier diagnostics identified AzCopy in the transfer path.
  • Standard transfer and a single-request upload option both failed in earlier testing.
  • Support requested Safari/cellular and alternate-surface checks. The agent cannot independently verify the client's network or browser, so this report does not claim a controlled cross-network reproduction.
  • Typing / did not open a feedback form on the user's current surface.
  • No diagnostic session ID, HTTP request ID, or failing endpoint host is available in the retained output.
  • This operation is file upload finalization, not a Git commit/push.

Impact / requested assistance

The required durable save is blocking publication of already approved content. Please provide a supported way to capture the request/session identifier for this hosted helper failure and route the upload-commit error to the owning team. No credentials, signed upload URLs, or private article contents are included.

Activity

  1. added
    bug
    codex-web
    connectivity
    tool-calls
    on Oct 3, 2026
  2. donniehoover commented on Oct 3, 2026

    @donniehoover
    Author

    Support requested request/session IDs or the full captured error output. Below is the complete helper result from the retry that finished at 2026-10-03 13:17:14 EDT (17:17:14 UTC). Only the private local path values have been replaced with descriptive placeholders; all status/error fields are unchanged.

    {"results":[{"local_path":"<public-article.md>","purpose":"create_library_file","status":"failed","error_code":"transfer_failed","message":"file transfer failed"},{"local_path":"<review-packet.md>","purpose":"create_library_file","status":"failed","error_code":"transfer_failed","message":"file transfer failed"},{"local_path":"<original-thumbnail.png>","purpose":"create_library_file","status":"failed","error_code":"transfer_failed","message":"file transfer failed"}]}

    A subsequent attempt around 13:25 EDT exited with code 1 and this complete output:

    library upload failed: hosted apps tools/list request failed: network
    

    Neither output contains an HTTP request ID or diagnostic session ID. The / feedback flow is unavailable on the user's current surface. A desktop feedback reproduction has not been completed.

    Earlier retained diagnostic notes record 502 Bad Gateway, [Errno 111] Connection refused, and When Committing block list; the original detailed transfer log is no longer available, so no missing headers or endpoint IDs can be recovered from it.

    Please provide a supported way to obtain correlation IDs for this hosted Library helper path when its returned output omits them. The report does not claim these generic helper results alone establish the underlying network cause.

  3. SProst commented on Oct 3, 2026

    @SProst

    Adding a possibly related Library transfer failure observed on October 3, 2026. Our affected operation is downloading existing Library files into a dot cloud workspace, after successful download preparation. This differs from the upload-commit failure in the original report; a shared root cause has not been established.

    Environment and observed sequence

    • Conversation surface: web browser on Windows.
    • Failing execution environment: dot's Linux cloud workspace.
    • The files were produced by a task on a connected Mac and successfully uploaded to Library.
    • The hosted build and transfer-helper version were not captured. This has not been reproduced in the standalone Codex CLI.
    1. Ask dot to retrieve the existing Library artifacts for inspection in its cloud workspace.
    2. Library prepare_materialize succeeds and returns transfer records with the expected file metadata, a download URL, no warnings, and no workspace_path.
    3. The current supported Library helper, library_file_transfer.py materialize, attempts the byte download.
    4. The helper exits with code 1 and the exact error:
    library file transfer failed: download failed with HTTP status 502
    

    Repetition and scope

    • Around 21:00 UTC: two attempts to download the ZIP failed.
    • At approximately 21:07:33 UTC: the same failure affected all five artifacts: one ZIP, three PNGs, and one Markdown file.
    • Reading the Markdown content through Library succeeded, while downloading that file into the workspace failed.
    • No HTTP request ID was exposed in the helper output. Preparation did not report an authorization failure or explicit permission denial.

    Expected behavior and impact

    After successful Library preparation, the files should download into the cloud workspace so the agent can inspect and use their bytes. This failure blocks inspection of the binary artifacts there.

    The observed failing step is the cloud workspace's byte-download operation. We have not identified the underlying component responsible, and have no evidence establishing the conversation browser or Windows as the cause. Please advise whether this download-side scenario belongs with this issue and how to capture a safe correlation identifier for the hosted transfer failure.

    Signed URLs, credentials, private file contents and names, artifact IDs, and session identifiers have been omitted.

  4. austincons commented on Oct 8, 2026

    @austincons

    Adding another occurrence of the same hosted apps tools/list request failed: network error, with the failing stage narrowed to tool discovery before upload preparation.

    Observed workflow

    1. In a Codex Cloud task started from a saved cloud environment, prepare existing readable local files for delivery through Library.
    2. Invoke the current supported Library prepared-upload helper with its required companion files, following the documented batch workflow.
    3. The helper fails during hosted tools/list discovery with:
      hosted apps tools/list request failed: network
    4. Retry with the current helper and companion files: the same failure occurs.

    No upload preparation result or Library file ID is returned, and file-byte transfer does not begin. Executor commands and direct Library reads still work, and the local files remain readable. This observation does not establish the underlying network or service-side cause.

    Expected: the supported upload flow prepares and transfers the files, returns their Library identities, and allows delivery. Actual: file delivery is blocked before upload preparation.

    Separate reporting blocker

    The Codex iOS Feedback flow also returns Feedback upload failed, including after retry. A relationship between this feedback failure and the Library failure is unconfirmed.

    The hosted runtime, helper, and iOS app versions are unknown. Standalone Codex CLI reproduction has not been established.

    The Help Center AI directed this report to the public Codex tracker; no human support ticket was confirmed. Please route the pre-upload discovery failure to the appropriate team and advise on a supported way to capture safe diagnostic information.

  5. davidlks2003-source commented on Oct 8, 2026

    @davidlks2003-source

    Adding a reproducible Library replacement failure observed on 2026-10-08 in a ChatGPT Work cloud workspace. This shares the reported transfer_failed / HTTP 502 symptoms, but a common root cause has not been established.

    Reproduction and environment

    1. Keep an existing Library ZIP and its current version.
    2. Prepare a validated local replacement ZIP containing a SQLite database and supporting source files.
    3. Invoke the bundled, unmodified Library upload helper (plugin version 0.1.61) with purpose: replace_library_file, the existing Library identity, and the expected current version guard.
    4. Upload preparation succeeds for the reduced archive, but the transfer fails. The existing Library version remains unchanged.

    Hosted app/build and standalone Codex CLI reproduction: not established.

    Captured result

    The helper reports:

    status: failed
    error_code: transfer_failed
    message: file transfer failed
    

    The underlying transfer result recorded:

    FailedTransfers.ErrorCode = "502"
    Expected archive bytes = 435948365
    BytesOverWire = 12926976
    TransfersCompleted = 0
    TotalBytesTransferred = 0
    

    The bytes-over-wire value is not evidence that the replacement was durably stored. No successful replacement receipt was received.

    Checks already completed

    • The local ZIP is readable, has 11,511 entries with no duplicate entry names, and passed archive integrity/CRC checks.
    • The enclosed SQLite database passed integrity validation and remains queryable locally.
    • Available workspace disk space was approximately 22.9 GB.
    • Reducing the archive from larger candidates to 435,948,365 bytes did not resolve the transfer failure.
    • Small files (approximately 20 KB and 737 KB) were successfully saved through the supported upload flow.
    • Repeated attempts failed; this was not reported as a version-guard conflict.
    • No proxy, network policy, authorization, or TLS settings were changed.

    These observations locate the failure in the upload path; they do not establish a file-size limit, a timeout, a particular gateway/storage component, or the user's VPN as the cause.

    Impact / requested assistance

    Incremental database updates cannot be committed to the existing durable master, although the previous saved version and current local queries remain usable. Please route this to the hosted Library transfer owner and advise on a supported fix or diagnostic capture procedure that exposes a safe request/correlation ID. The public helper result currently masks the underlying transfer error.

    Credentials, signed URLs, account/artifact/session identifiers, private filenames, and database contents have been omitted.

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

    bugcodex-webconnectivitytool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions