GrepBoard/Manuals
605 manuals ·

Codex Web "Unable to determine project root for task" error

·Tested on Codex Web · official repo issue #49497 · 2026-10·Test scope ↓·5 steps

Codex Web "Unable to determine project root for task" is an open bug with no fix yet. Check the environment, then use the desktop app or CLI.

output
Error submitting messageUnable to determine project root for task

This rejection in Codex Web was reported in the official repository on 2026-09-30 and is still open at the end of October, with no official fix or staff guidance. It happens even when the repository and cloud environment are healthy. What you can do: confirm an environment is actually selected, skip the attempts that reporters say do not help, and move the same work to the desktop app or the CLI.

[1] Identify which case you are in. Reports on the issue fall into three groups.

WhenReported situation
First message of a new chatFails even with a published saved environment selected. The page stays on the "What should we build?" composer
Follow-up in an existing cloud chatTranscript and new replies are visible, only sending fails
Fresh screen with no environment shownSending without any repository or environment selected gives the same message

The third case may simply be a missing environment. Go to [2]. For the first two, go to [3].

[2] Check that a published environment is selected. Per the official Cloud environments docs, each cloud task gets its own isolated workspace from a published environment.

  • Create: in a new task choose Work in > Cloud > Select environment > Create environment, or go to Settings > Codex Cloud > Environments > Create environment.
  • Check it is published: if the environment shows an Unpublished badge in the list, it cannot be used for tasks. Finish setup and select Publish. After "Environment published" appears, use Start a new task.
  • After editing: if you changed it via Settings > Codex Cloud > Environments, the environment's … menu > Edit, you also need Republish. The docs say the update applies to new tasks only and existing tasks keep their own state, so send again from a new task, not the old chat.

Then send with Cloud and that environment selected in the composer. One report says typing /cloud-environment in the composer returned the same error, so use the UI paths above.

If the error persists with an environment selected, you are hitting the bug below.

[3] Skip what reporters say does not help. Results posted on the issue:

AttemptReported result
Hard refresh (Ctrl+Shift+R) · reselect the environmentSame error
Edit the environment and publish againSame error
Sign out and in · clear cachesSame error
Delete and recreate the environmentSame error in the browser (one report says it worked inside the desktop app)
Support's suggestion: create a fresh environment and give the instruction as the first messageOne reporter's setup chat sat at Task creation is not yet confirmed for 24 minutes

In that last state the page tells you not to submit again. Do not resubmit, or the same task may be created twice.

[4] Open the same work through another entry point. One reporter wrote that chats for the same cloud environment work inside the macOS desktop app and fail only in the browser. If you have the desktop app, continue there. If you do not strictly need the cloud, clone the repository locally and use the Codex CLI or the app's Local mode; for now that is the most reliable path.

[5] Leave a report. One reporter followed support's instruction to send / → Feedback from the affected chat, found no option to share the session, and was pointed to this issue by support. Add the date, OS, browser and "first message or follow-up" to issue #49497 so similar cases group together. Leave task IDs, environment IDs and repository names out of a public issue; the original reporter omitted them as well.

For how the local CLI picks the repository root and reads rule files, see Give Codex repository rules with AGENTS.md. For another desktop app startup error, see Codex app "Cannot serialize value" error starting chat.

#codex#codex-web#codex-cloud#troubleshooting