Failed to create PR in Codex Cloud
Resolved 💬 25 comments Opened Mar 13, 2026 by alethrainc Closed Mar 18, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
Cloud
What subscription do you have?
Enterprise
What platform is your computer?
MacOs
What issue are you seeing?
When a task is created it does the work right, when the PR button is clicked ''Failed to create PR", its been 3 days like this
<img width="327" height="218" alt="Image" src="https://github.com/user-attachments/assets/bc227e48-ac3e-46fb-b04e-1550abba910f" />
What steps can reproduce the bug?
Create a task, make a PR
What is the expected behavior?
PR successful
Additional information
_No response_
25 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
We're seeing this as well!
Same issue here.
This should be fixed now. Please let me know if you are still seeing this and will re-open the ticket.
@kiriti-oai the issue is still present for me.
as of today, still happening
<img width="366" height="112" alt="Image" src="https://github.com/user-attachments/assets/b23a4e91-445d-401a-a9cf-fc6eb5bf10a2" />
for some reason, after doing the first pr of a task, and do follow up changes, this issue starts to happen. and instead of doing a PR, creates a branch with no new commits
<img width="880" height="178" alt="Image" src="https://github.com/user-attachments/assets/bcf54e97-040b-4147-a491-068269566a71" />
same issue today
Having this issue as well with 2 different changes
Me too
Me too for 3 hours
+1 seeing same issue today, clean reinstall, trivial 1 line change to verify
same here today
same here
Yeah same issue
same
I also started getting the "Failed to create PR" error today across two different Codex accounts. I've been using GitHub for 6 months, and this is the first time I've seen this issue.
I started receiving this error frequently in the past week or so.
When I try to create a new task, I receive this error:
<img width="306" height="55" alt="Image" src="https://github.com/user-attachments/assets/815ff52d-2b78-4eba-b4b8-5ee07b85df64" />
Same here
Same here
same here
same here
Same here too. For now I have a workaround using the Copy Git Apply button in Codex and then running "git apply text_from_git_apply.patch" locally before pushing to github.
same issue
The fix was simple in my case.
I went to: https://github.com/[username]/[reponame]/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.
It happens again right now