Unable to clone repository for several days

“You don’t have the ability to clone this repository.”

Every single task is failing with the following error.

Same problem here since yesterday. Note that there’s no problem when Asking the same question, but only exists when clicking on Code

I seem to have solved by going to the ChatGPT connector in GitHub and clicking on Save in Repository access @esetnik

Same is happening for us too.

Saving the connector didn’t fix it for us though.

I am also getting the error “You don’t have the ability to clone this repository.” again. Sometimes also “Failed to set up container.”

1 Like

Got this for the first time this morning too.

Weirdly other repositories are working, it seems to be scoped to a specific repository.

I have tried removing the connector and reconnecting, this doesn’t seem to have done anything.

As a temporary work around I have installed the codex-cli:
npm install -g @openai/codex # Alternatively: brew install codex

Which is working well.

It was a mega-monorepo, and since splitting it into smaller repos, I haven’t encountered any clone errors.

I fixed this issue by doing .gitignore on several folders that were just being tracked for no reason. Also, I did git rm -r --cached “.godot” on other unnecesary folders. After doing this, Codex was again able to fetch and operate with the scripts.

Hello I have a new update. The problems returned. However! I fixed it completely now. I started a fresh git repository from 0. I deleted the .git folder on the project and created a new repository witha clean new commit. Now it works perfectly

1 Like