> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeobsess.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Repository access refused

> CodeObsess can't write to a repository the run needs.

## What you see

The run failed, saying a repository can't be changed, or CodeObsess has no access to it.

## Why

Either the repository isn't one the run may change (it is **Read-only**, or not chosen), or the app has no access to it on your code host.

## Fix it

An owner or admin:

1. Opens **Settings › Repositories** and checks the repository is there and set to **Write**. A repository marked **Not visible** has lost the app's access.
2. On GitHub, checks the CodeObsess app's repository access (**Settings › Connections › Manage on GitHub**). On Bitbucket, checks CodeObsess for Bitbucket in your workspace.
3. Presses **Refresh** on **Settings › Repositories**.
4. Replies on the ticket.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.