Skip to main content
The web editor shows a Repository unavailable notice when Mintlify can’t reach the repository or deployment branch that your documentation builds from. Refreshing the page doesn’t fix it. You need to restore access or update your Git settings.

Common causes

  • The repository was deleted.
  • A GitHub repository was renamed or moved to another owner.
  • The deployment branch, such as main, was deleted or renamed.

Restore access

  1. Select Open Git settings in the notice to open the Git settings page of your dashboard.
  2. Confirm that the organization, repository, and branch match where your docs live now. Update them if the repository or branch changed.
  3. Return to the editor and select Reload editor.

Restore GitHub App access

If the Mintlify GitHub App loses access to your GitHub repository, the editor shows Repository Access Required instead of the Repository unavailable notice.
  1. Select Grant Repository Access. GitHub opens the Mintlify GitHub App’s installation settings in a new tab.
  2. Select the repository that contains your docs and save. See Manage repository access.
  3. Return to the editor tab. The editor checks access again and loads your content.
For more on connecting your repository, see GitHub or GitLab.