@codex review says “create a Codex account and connect to GitHub” although Codex web can access the repo

Open 💬 4 comments Opened Jun 26, 2026 by mhtranbn

What issue are you seeing?

What issue are you seeing?

When I comment @codex review on a GitHub pull request, Codex replies with:

To use Codex here, create a Codex account and connect to github.

However, Codex web can access the same repository successfully. I can open chatgpt.com/codex, select the repository, and run a Codex task against it without issues.

So the GitHub connector and repository access appear to be working. The problem seems specific to the GitHub PR comment trigger / code review integration.

Context:

  • This worked before with the same GitHub account.
  • I previously had another ChatGPT account/workspace connected, but that account is no longer Plus.
  • I moved back to my active Plus account.
  • GitHub connector shows as connected.
  • GitHub App is installed and active.
  • Repository access is granted.
  • Codex web can access the repository and run tasks successfully.

<img width="968" height="166" alt="Image" src="https://github.com/user-attachments/assets/e0a706f1-812a-4e0f-a5cb-41eedd1071a4" />

What steps can reproduce the bug?

What steps can reproduce the bug?

  1. Log in to ChatGPT with my active Plus account.
  2. Connect GitHub in ChatGPT/Codex settings.
  3. Confirm the GitHub App is installed and has access to the target repository.
  4. Open chatgpt.com/codex.
  5. Select the same repository and run a small task, for example: Review the latest pull request diff and summarize possible risks. Do not modify files.
  6. Confirm that the Codex web task runs successfully.
  7. Open a pull request in the same GitHub repository.
  8. Add a new PR comment: @codex review.
  9. Codex replies with: To use Codex here, create a Codex account and connect to github.

Already tried:

  • Disconnecting and reconnecting GitHub in ChatGPT/Codex settings
  • Revoking GitHub OAuth authorization
  • Uninstalling and reinstalling the GitHub App
  • Granting access to all repositories
  • Logging out and back in with the correct ChatGPT and GitHub accounts
  • Waiting and retrying with a new @codex review comment

What is the expected behavior?

What is the expected behavior?

@codex review should start a Codex code review on the pull request and post the review result back to GitHub.

Since Codex web can access the same repository and run tasks successfully, the GitHub connector and repository permissions seem to be valid.

Additional information

Additional information

This may be a server-side auth/workspace binding issue between my GitHub identity and a previous ChatGPT/Codex workspace.

The issue appears to affect only the GitHub PR comment trigger. Direct Codex web tasks work correctly for the same repository.

Please let me know if you need my GitHub username, workspace details, repository URL, or PR URL privately.

View original on GitHub ↗

4 Comments

shividhar · 2 months ago

I ran into this too and was pretty confused at first. It turns out I needed to set Auto code review to Review all PRs instead of Review my PRs.

The wording feels misleading because it sounds like the setting controls when Codex automatically reviews a PR, but in practice it also acts as a gate for which PRs Codex is allowed to run on at all.

<img width="362" height="310" alt="Image" src="https://github.com/user-attachments/assets/e82dbddc-3c56-481b-b1f3-77e732ce3e22" />

Hope this helps

mhtranbn · 1 month ago

Thanks for the suggestion. I tried changing the Auto code review setting to Review all PRs, but unfortunately the issue still persists. @codex review still replies with “create a Codex account and connect to GitHub,” even though Codex web can access the repository and run tasks successfully.

Nantris · 25 days ago

Signed back up for Codex and it's completely useless. Every permission is granted but I just see this crap. Very disappointing experience.

abichat · 17 days ago

I’m seeing the same issue.

My GitHub account was originally connected to a different ChatGPT account with a subscription that allowed Codex PR reviews. That subscription was cancelled recently.

I later switched to another ChatGPT account with an active Pro subscription, and I also switched Codex locally to that account. In Codex Cloud, GitHub shows as connected to my GitHub account, and the organization repository is correctly configured for code review. Other teammates can successfully run @codex review on the same repository, and even on the same PR.

However, when I personally comment @codex review, Codex replies:

To use Codex here, create a Codex account and connect to github.

I already disconnected and reconnected GitHub from Codex Cloud while logged into the new ChatGPT account, but the issue persists.

It seems like my GitHub account may still be linked to the previous ChatGPT/Codex account.