# Origin Cloud Agent 403 repository\_access\_denied after Create Repo

**URL:** <https://forum.cursor.com/t/origin-cloud-agent-403-repository-access-denied-after-create-repo/171148>\
**Category:** Bug Reports\
**Tags:** github, origin, cloud-agents\
**Created:** [September 9, 2026, 9:53am UTC](https://forum.cursor.com/t/origin-cloud-agent-403-repository-access-denied-after-create-repo/171148 "2026-09-09T09:53:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Caton](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@Adam\_Caton](https://forum.cursor.com/u/Adam_Caton)\
**Post date:** [September 9, 2026, 9:53am UTC](https://forum.cursor.com/t/origin-cloud-agent-403-repository-access-denied-after-create-repo/171148/1 "2026-09-09T09:53:13Z")

</div>

### Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

### Describe the Bug

Cloud Agents lost git write to an Origin repo after promoting agent-temp → Create Repo. UI browse still works as owner; agent push returns 403.

**Repo:** adam-caton/Lapaz-regional-hospital  
**Agent:** bc-e1cbfaa0-a6a6-48b7-a1cf-7ab486bf2c94 (Grok-Lapaz-Master)  
**Remote:** [https://origin.cursor.com/git/adam-caton/Lapaz-regional-hospital.git](https://origin.cursor.com/git/adam-caton/Lapaz-regional-hospital.git)

**Error:**

```auto
fatal: unable to access '...Lapaz-regional-hospital.git/': The requested URL returned error: 403
{"error":"You do not have access to adam-caton/Lapaz-regional-hospital on Origin. Contact your team admin if you believe this is a mistake.","reason":"repository_access_denied"}

```

Empty commit stayed local: branch `cursor/write-probe-2c94` @ `5c2463cdcfb4f0608840a4c2d8831df3824ff379`. Did not use GitHub.

**Contrast:** sibling Origin repo `adam-caton/cah-policy-detect` still accepts pushes from its existing Cloud Agent after the same Create Repo flow.

**Also:** fresh Cloud Agent launches mis-route toward GitHub for this Origin-only repo (“not accessible to connected GitHub account”).

**Ask:** restore Cloud Agent Origin git write for post–Create Repo standalone Origin repos; stop requiring GitHub for Origin-only repos.

Happy to share more ids/screenshots. — Adam Caton

### Steps to Reproduce

1. Use the Origin-only repository adam-caton/Lapaz-regional-hospital and promote agent-temp → Create Repo.
2. From the existing Cloud Agent (bc-e1cbfaa0-a6a6-48b7-a1cf-7ab486bf2c94), attempt a git push to the Origin remote.
3. The push returns HTTP 403 with reason repository\_access\_denied, while UI browsing still works as owner.

### Expected Behavior

Cloud Agent should retain Origin git write access after Create Repo, and fresh launches for Origin-only repositories should use Origin rather than requiring GitHub.

### Operating System

Other

### Version Information

Cloud Agent / Origin repository; Cursor version not available.

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [September 13, 2026, 10:52am UTC](https://forum.cursor.com/t/origin-cloud-agent-403-repository-access-denied-after-create-repo/171148/9 "2026-09-13T10:52:02Z")

</div>

Hey @Adam_Caton, thanks for the report!

When you used Create Repo, the draft repository your agent was working in was renamed in place to adam-caton/Lapaz-regional-hospital. The agent itself keeps a credential tied to the original address, so it keeps working as long as it pushes through that address.

Right after you created the repo, the agent switched its git remote to the new address (`origin.cursor.com/git/adam-caton/Lapaz-regional-hospital.git`), and from that point, every fetch and push returned the 403 you saw. Your account and the repository are fine, which is why browsing on the web still works, and your other repo still pushes because that agent never changed its remote.

To unblock the Grok-Lapaz-Master agent, ask it to run:

```auto
git remote set-url origin https://origin.cursor.com/git/adam-caton/tmp-1f9b8a6382536b43.git

```

and push again. That address keeps working after Create Repo and the commits land in Lapaz-regional-hospital. Alternatively, start a fresh Cloud Agent on the repo from [https://cursor.com/agents](https://cursor.com/agents), which gets a credential for the new name.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [October 21, 2026, 7:20pm UTC](https://forum.cursor.com/t/origin-cloud-agent-403-repository-access-denied-after-create-repo/171148/11 "2026-10-21T19:20:30Z")

</div>

Closed on October 21, 2026, 7:20pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
