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_

View original on GitHub ↗

25 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13689

Powered by Codex Action

lettergram · 4 months ago

We're seeing this as well!

BCabanaRepTrak · 4 months ago

Same issue here.

kiriti-oai · 4 months ago

This should be fixed now. Please let me know if you are still seeing this and will re-open the ticket.

jLemmings · 3 months ago

@kiriti-oai the issue is still present for me.

lukkaku12 · 2 months ago

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" />

Chrisvazq · 2 months ago

same issue today

thapatsta · 2 months ago

Having this issue as well with 2 different changes

QuinthSoftwareSolutions · 2 months ago

Me too

chourmovs · 2 months ago

Me too for 3 hours

chanian · 2 months ago

+1 seeing same issue today, clean reinstall, trivial 1 line change to verify

loucodetudo · 2 months ago

same here today

fanfanbobbilly-del · 2 months ago

same here

OverTitus · 2 months ago

Yeah same issue

alexwagman3 · 2 months ago

same

krickard21 · 2 months ago

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.

HK-G36 · 2 months ago

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" />

TopperDEL · 2 months ago

Same here

MarkusCouch · 2 months ago

Same here

jzh135 · 2 months ago

same here

rmrui · 2 months ago

same here

javiergn · 2 months ago

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.

podcctv · 2 months ago

same issue

shaghab · 2 months ago

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.

HK-G36 · 2 months ago

It happens again right now