Skip to content

Codex Web: first message fails with “Unable to determine project root for task” despite runnable cloud environment #49497

Open

Description

@parteeksinghlavish

What issue are you seeing?

On September 30, 2026, submitting the first message in Codex Web fails after selecting a published saved cloud environment.

The test prompt is "hi". The UI displays:

  • "Error submitting message"
  • "Unable to determine project root for task"

The page remains on the "What should we build?" composer.

What steps can reproduce the bug?

  1. Open Codex Web in a browser on Windows.
  2. Select the intended published cloud environment.
  3. Enter "hi" as the first message and submit.
  4. Observe the errors above.
  5. Hard-refresh with Ctrl+Shift+R, reselect the environment, and retry; the same failure occurs.

What is the expected behavior?

The message should submit and start a task using the selected environment. If additional configuration is required, the error should identify what needs to be changed.

Additional information

  • Observed on September 30, 2026, around 05:53–05:57 UTC.
  • Browser name/version and exact Windows version have not been recorded.
  • A separate assistant-created diagnostic task successfully launched using the same published saved environment.
  • Read-only diagnostics confirmed a valid repository checkout, HEAD, and root tree.
  • The Install and Start instructions change into the intended repository directory.
  • No repository code or environment configuration was changed during diagnosis.
  • The cause of the difference between these launch paths is unknown.
  • Related: [Windows Desktop] Failed Cloud chat creation leaves the conversation stuck with no way back to Local #38325 reports the same error during a Windows Desktop Local-to-Cloud handoff. This report concerns the first message in a new web chat; whether the cause is shared is unknown.

Repository names, environment/task IDs, settings screenshots, credentials, and configuration values are intentionally omitted.

Activity

  1. added
    bug
    codex-web
    on Sep 30, 2026
  2. mrcwinn commented on Sep 30, 2026

    @mrcwinn

    I get this too. Unable to determine project root for task Really frustrating.

  3. almog-co commented on Sep 30, 2026

    @almog-co

    Same happens to me but Dot is able to still view and message the codex sessions. I asked it to try and fix it but it couldn't. Best I received was this.

    I found a likely cause: the session starts in /workspace, but the repo is in /workspace/projectName. I don’t have a supported way to repair the web task’s project association. I successfully sent it a follow-up from here, so you can give me instructions and I can relay them to that same session. Direct messaging from your side is still unresolved

  4. jgoalby commented on Sep 30, 2026

    @jgoalby

    I get the same thing and got the same response as @almog-co

  5. simongonzalezdc commented on Oct 1, 2026

    @simongonzalezdc

    I’m also seeing this when submitting a follow-up in an existing Codex cloud session, rather than creating a new task. On September 30, 2026, around 5:31 p.m. Pacific, submission returned “Error submitting message” and “Unable to determine project root for task.” The saved cloud environment is still listed. I have not verified the current checkout/root or whether this shares the original report’s cause. Is there a supported way to repair the existing task’s project association while preserving its uncommitted work?

  6. corpcomm-tech commented on Oct 1, 2026

    @corpcomm-tech

    Same. Amateur hour stuff guys. Launching a cloud product that doesn't work in the cloud. Clearly no one actually tested this, and is actually running their "cloud" stuff on a "local" app. Defeats the point, doesn't it? Exhausting. Is it too much for us to expect the core feature of the thing itself to, oh I don't know, function?

    Everyone currently using this is just still doing it locally. Which.... defeats. the. whole. point. of. cloud.

  7. Practical-AI-Solutions commented on Oct 1, 2026

    @Practical-AI-Solutions

    Also reproduced on macOS in Chrome on September 30, 2026 (America/New_York), after successfully saving and publishing a single-repository Python cloud environment. The prepared checkout and explicit repository-directory setup passed 25 offline tests.

    Both submitting a follow-up from the published environment and New chat > Cloud > selecting that saved environment returned:

    Error submitting message
    Unable to determine project root for task

    No task was created through either UI attempt. Refreshing the repository through the supported Edit flow and republishing did not resolve the new-task error. A separate desktop cloud-chat creation tool accepted a diagnostic chat, but its task status remains inProgress with no assistant/tool output; its binding to the intended saved environment is unverified, so that is not a confirmed workaround.

    Can the product team advise a supported repair for task/project association that preserves the published environment and existing work? No repository names, environment/task IDs, credentials, private content, logs or screenshots are included.

  8. Xare123 commented on Oct 1, 2026

    @Xare123

    Additional existing-session reproduction, reported on September 30, 2026:

    I can open an existing cloud Codex chat in the web browser and see new assistant messages, but I cannot submit messages from that browser chat. The exact error is:

    Error submitting message
    Unable to determine project root for task
    

    Steps:

    1. Open the existing cloud Codex chat in the browser.
    2. Confirm that the transcript and new assistant replies are visible.
    3. Type and submit a follow-up message.
    4. Submission fails with the error above.

    Expected: Follow-up messages should submit to the existing cloud session, or the UI should provide a supported way to repair the task's project association.

    Agent-side diagnostics confirmed:

    • The attached managed cloud environment is connected and running, with current runtime observations.
    • The shell starts at /workspace, which is not itself a Git repository.
    • A repository checkout in a subdirectory has a valid Git root and HEAD and remains clean.
    • Commands execute in the environment. A user-owned Java 21 compiler was installed and a small compile/run check passed.
    • The available agent tools could not inspect or repair the platform's task/project binding.

    The directory layout is an observed fact, not proof of the platform cause. The browser failure was reported by the user; the agent did not independently drive the browser submission.

    Please investigate a repair for the existing task that preserves the prepared environment and checkout. Browser/version and the affected task URL can be supplied privately. Repository names, task/environment identifiers, credentials, and unrelated project details are omitted.

  9. dmitry-udio commented on Oct 1, 2026

    @dmitry-udio

    I've had success in overcoming this issue - deleted broken environment and then created it from inside mac app. And it no longer shows "Error submitting message Unable to determine project root for task"

    PS: Ooops! Too early! Those cloud env chats are working from inside mac app, but showing the same error from inside the browser! So it is not a broken env, it is broken codex cloud web...

  10. IaHorrorLabs commented on Oct 1, 2026

    @IaHorrorLabs

    We are reproducing the same Codex Web/Cloud failure.

    A published saved environment is selectable and points to a valid GitHub repository on main, but submitting the first message fails with:

    Error submitting message
    Unable to determine project root for task

    The Codex task is not created.

    We reproduced this again on October 1, 2026.

    Additional read-only diagnostics from our case:

    • the environment catalog exposes the expected GitHub repository and main ref;
    • no explicit resolvable project root is exposed;
    • two saved environment configuration records exist for the same repository/ref, but selecting the UI environment that appears published still produces the same project-root error;
    • we performed exactly one diagnostic submit attempt against the published-looking environment;
    • no repository, environment, Drive, or production files were modified during diagnosis;
    • no image generation, Work production call, Gemini call, or additional spend occurred.

    If useful, we can provide sanitized screenshots, the non-secret environment configuration identifiers, and additional read-only diagnostics.

  11. hisui007 commented on Oct 1, 2026

    @hisui007

    I am still experiencing this issue as of October 1, 2026.
    Environment:

    • Windows 11
    • Chrome
    • ChatGPT Plus
    • Codex Web
      When I create a new Codex chat and send the first message, it immediately fails with:
      Unable to determine project root for task
      Refreshing the page and trying again does not resolve the issue.
      I am also currently affected by a separate Codex Desktop issue where opening older conversations causes UI corruption and freezing, so at the moment both Codex Desktop and Codex Web are effectively unusable for me.
      I can provide the screenshot if needed.

    Desktop ver Gleiche Symptome
    #49591

    Image
  12. enk0de commented on Oct 1, 2026

    @enk0de

    same

  13. SteveStarks01 commented on Oct 1, 2026

    @SteveStarks01

    Also reproduced on October 1, 2026, in Chrome on macOS with a published two-repository cloud environment.

    The existing environment-setup chat is readable and displays Environment published, but submitting its Follow-up in a new cloud chat fails with:

    Error submitting message
    Unable to determine project root for task
    

    The original discussion contains an approved implementation plan, but no implementation task starts through this continuation. The user also reports the same failure from a new chat for this environment.

    Browser-driven diagnostics and recovery attempts:

    • Opened a fresh composer, verified Cloud and the intended saved environment, and reselected that environment.
    • Returned to the original setup chat and independently reproduced the submission failure.
    • The environment-configuration request returned HTTP 200 and status: ready, with an environment ID and latest ready version present. Both repository entries used ref: main and had mount_path: "".
    • Used Settings > Codex Cloud > Environments > Edit on the published environment. The edit draft opened with the existing configuration, but submitting a bounded environment-repair request produced the same project-root error.
    • No repository mount-path or project-root editor was exposed in the inspected configuration UI.

    Empty mount paths are an observed fact, not a confirmed cause. This submission failure prevents checking the mode of a new implementation task; the earlier setup runner reporting Plan mode does not establish the cause.

    No application code was changed and nothing was republished. The original chat and published environment were preserved; the supported Edit action created an edit draft.

    Could the product team provide a supported repair for the environment/task project association that preserves the prepared filesystem, existing work, and original conversation context? Private repository names, environment/task identifiers, credentials, setup-script contents, and screenshots are omitted from this public report.

  14. Peter1h commented on Oct 1, 2026

    @Peter1h

    I am also having the same issue

  15. zenniferp commented on Oct 2, 2026

    @zenniferp

    it's extremely frustrating. My first experience with Codex and it shows me an error message with no clear resolution steps!

  16. diskdyhn4211-png commented on Oct 2, 2026

    @diskdyhn4211-png

    I’m seeing the same Codex Web failure on Windows in the browser. GitHub is connected, the repository is accessible, and the cloud environment setup/verification completes successfully, but every attempt to send a new Codex task fails with: Unable to determine project root for task. This blocks Codex Web entirely for me as a paid ChatGPT Plus user. Please investigate and provide a workaround or fix.

  17. peralmered commented on Oct 2, 2026

    @peralmered

    Also reproduced on October 2, 2026 in Codex Web on Windows 11 / Chrome with ChatGPT Plus.

    In my case, environment onboarding itself succeeded: Codex accessed the GitHub repository, built and ran the Docker environment, completed PHP/Composer/npm/database setup, and successfully ran validation checks.

    However, every follow-up message in the onboarding conversation fails with:

    Error submitting message
    Unable to determine project root for task
    

    Affected onboarding task:

    01a0fa58-dd2f-746e-8aab-3d717613a056

    Environment:

    BorfCMS

    Reproduced:

    2026-10-02 03:47 CEST (UTC+2)

    I also followed OpenAI Support’s documented diagnostic instruction to use / → Feedback from the affected existing Codex chat.

    That exposed a second problem: the current Feedback dialog does not offer any “share existing session/thread” option, and after submitting feedback it only showed “Thanks for your feedback” — no session ID was returned.

    OpenAI Support confirmed that this does not match the documented feedback flow and directed me to this GitHub issue.

    Screenshots are available showing:

    1. the project-root submission error; and
    2. the complete Feedback dialog with no “share session” option.

    The key detail in this reproduction is that Codex successfully used the repository during onboarding, so the repository/project root was usable by the setup task before the follow-up submission failed.

  18. peralmered commented on Oct 2, 2026

    @peralmered

    Follow-up: I attempted the workaround recommended by OpenAI Support: create a fresh cloud environment and send the desired branch/app-root instruction as the first message in the setup conversation.

    The fresh environment never reached a state where I could send that instruction.

    The setup conversation remained for 24 minutes at:

    Task creation is not yet confirmed. Do not submit it again while Codex checks its outcome
    

    with the composer displaying:

    Starting your task...
    

    I deliberately did not resubmit, refresh, or otherwise interfere with it, in accordance with the UI instruction.

    I captured a screenshot showing this state after 24 minutes.

    This appears potentially related to the same Codex Web task-creation/project-association failure and means the recommended fresh-environment workaround cannot currently be completed in my case.

  19. RaghavRastogi23 commented on Oct 2, 2026

    @RaghavRastogi23

    Having the same issues on Mac Cloud Web

    Error submitting message Unable to determine project root for task

  20. RyanClark1998 commented on Oct 2, 2026

    @RyanClark1998

    I was able to start with a first message, but got the error when trying to send a second

  21. mday-io commented on Oct 2, 2026

    @mday-io

    this seems like a critical bug, no? Users can't start their first codex session in-browser?

  22. addshore commented on Oct 3, 2026

    @addshore

    I'm also experiencing this today.
    The 2 things that I did before this started happening was to go into settings and Data Controls -> Archive all chats
    And the other was that I used Codex Cloud for the first time, creating my first 2 new cloud environments...

    After that, on the web, creating a new chat and trying to submit, i just get this..

    Image It's almost like my entire chat history and account is basically broken now...

    Sometimes in data controls I also then get...

    Image

    Tried logging in and out multiple times, busted caches etc

    And in ChatGpt rather than codex, i get a mixed recent list, seemingly conversations from the chatgpt part appear, and I get an error for Unable to load history for what I assume is the rest of it?

    Image

    For that the app seems to make 2 requests that get 429 responses...

    https://chatgpt.com/backend-api/conversations?exclude_conversation_origin=tpp&expand=false&hide_snorlax=false&is_archived=false&is_starred=false&limit=20&order=updated&offset=0
    https://chatgpt.com/backend-api/conversations?conversation_origin=tpp&expand=false&hide_snorlax=false&is_archived=false&is_starred=false&limit=20&order=updated&offset=0

    No idea if any of it is connected...

  23. ncoen97 commented on Oct 3, 2026

    @ncoen97

    same error

  24. DSG2025 commented on Oct 4, 2026

    @DSG2025

    Additional reproduction observed on 2026-10-04 from a ChatGPT Plus user using Codex Web in Chrome on Windows.

    On a fresh Codex screen ("What should we build?"), no repository/project root or environment is visibly selected. Submitting the first input immediately produces:

    Error submitting message
    Unable to determine project root for task
    

    The user also attempted to enter /cloud-environment while trying to reach environment setup, and the same project-root error was returned rather than an actionable setup/recovery path.

    This may be an onboarding/UI variant of the same project-root failure rather than proof of the same backend root cause. The useful signal is that the Codex Web UI can leave a Plus user at a new-task composer with no obvious project/environment selector, while submission fails only with the internal-looking project-root error.

    Expected UX:

    • If no project/environment is selected, show a clear repository/environment setup or selection action before task submission.
    • If an environment should already be available but binding is broken, provide a repair/reselect action.
    • Avoid presenting only "Unable to determine project root for task" with no recovery path.

    A screenshot of the exact UI/error is available if maintainers need it.

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-web

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions