# SyncNotPermittedError

**Kind:** Class

**Source:** [`atloria-monorepo/apps/api/src/git-sync/github-sync.adapter.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/git-sync/github-sync.adapter.ts#L41)

Thrown when the customer repo cannot be written/read as the App — no installation covers
the repo, or the installation hasn't consented to contents:write. The mirror records this
as status:'error' on the sync row and NEVER touches the repo.

**Extends:** `Error`
