Codex Web cannot open PRs
Open 💬 14 comments Opened May 4, 2026 by benglewis
What issue are you seeing?
Clicking "Create PR" produces the error "Failed to create PR"
What steps can reproduce the bug?
Run any Codex task then click "Create PR"
What is the expected behavior?
The PR should be opened successfully
Additional information
This is a sample task where I tried this:
task_b_69f89ad0654c8331ba4f6115986e8c04
14 Comments
Yeah Running into this issue
Hi, I have the same problem since today.
On top of the described "symptoms":
It seems similar also to Codex Cloud failing to create PR across multiple repos (patch works locally) however in that one its written that Codex generates changes - in my case changes were generated before this bug appeared and its not possible to create any new one.
Please let me know if its fine to have it here or to create new issue.
I have been experiencing this issue for a few hours now - UK based, $100 business plan. Create PR button gives red 'Failed to create PR' error.
I am running into same issue!
I have the same issue. It worked fine for 2 PRs today. Then started doing this, it creates a clone of my main branch in GitHub but doesn't modify any code. I tried on multiple respositories and no avail.
!image
Seems related to an API connection
The fix was simple in my case.
I went to: [https://github.com/[username]/[reponame]/branches](https://github.com/%5Busername%5D/%5Breponame%5D/branches)
Then I reviewed the list of branches and deleted many stale branches that showed:
Behind: 0
Ahead: 0
These branches were already fully merged or had no unique changes compared to the default branch. After cleaning them up, PR creation started working again.
Posting a screenshot from a different thread -
<img width="1440" height="2808" alt="Image" src="https://github.com/user-attachments/assets/c6eaf8f5-4785-422a-9fe5-b9d579cc0939" />
This issue has occured again--- some connector in the backend is failing or timing out.
@etraut-openai
Yes, just came here to post the same. Managed to do 1 PR about an hour ago, then my second PR has the usual bug back again:
<img width="955" height="162" alt="Image" src="https://github.com/user-attachments/assets/765d5806-38da-4030-af1c-c84c0d07c6ba" />
-
Also, I notice that the previous PR which has been Merged is still showing as Open in the list, which I am sure is related to the same issue:
<img width="886" height="351" alt="Image" src="https://github.com/user-attachments/assets/dacb299b-bde5-42e3-9815-17e1fd59f290" />
Absolutely same issue over here as well.
OK I just refreshed it (F5 in browser) and it now shows that Open PR as Merged (correct). Then I went into the latest one, and clicked to Create PR, and it now works.
Hopefully that means it works for others too.
Works for me as well, seems like the issue is resolved.
Seeing this issue, UK biz plan:
<img width="617" height="145" alt="Image" src="https://github.com/user-attachments/assets/71c36900-1d36-462f-be68-fa4d72e22bfd" />