If your Git integration is experiencing issues, you may find the following banners on the Deployments page of your Pages project.
Using the same GitHub or GitLab repository across separate Cloudflare accounts is disallowed. To use the repository for a Pages project in that Cloudflare account, delete any Pages projects using the repository in other Cloudflare accounts.
If your GitHub organization already has the Cloudflare Workers and Pages app installed but the repository selection step does not load or advance:
- In GitHub, open your organization settings and go to Third-party Access > GitHub Apps.
- Find Cloudflare Workers and Pages and select Configure.
- Update the Repository access list (for example, add or confirm the target repository) and select Save to refresh repository permissions.
- Return to Cloudflare and reconnect the repository.
If you run into issues related to deployments failing, check your project dashboard for source control management (SCM) installation warnings.
To resolve errors displayed in the Cloudflare Pages dashboard, follow the steps for the matching message.
To resolve this issue, reinstall the Git integration for GitHub or GitLab. If the issue persists after uninstalling and reinstalling, contact support.
For a GitHub repository, error 8000010 can mean that Pages could not verify the linked GitHub App installation or that your GitHub user cannot access it. Check that you signed in to GitHub with an account that can access the repository. In the GitHub account or organization that owns the repository, check that the Cloudflare Workers & Pages app is installed and that Repository access includes the repository.
If the app is missing, install it. If the installation changed, reconnect your repository.
For GitLab, reinstall the GitLab integration.
If you still see the error, contact support.
Go to your GitHub installation settings:
- Individual accounts ↗︎
- Organization accounts:
https://github.com/organizations/<YOUR_ORGANIZATION_NAME>/settings/installations
Select Configure on the Cloudflare Workers and Pages application. Scroll to the bottom of the page and select Unsuspend to allow Cloudflare Pages to make future deployments.
You may see this warning after you delete or transfer a repository. For GitHub, you can reconnect the existing Pages project to the transferred repository or to a replacement.
The reconnect steps below apply only to GitHub. For a transferred GitLab repository, transfer it back to the original owner or create a new Pages project with the transferred repository. If you deleted the GitLab repository, create a new Pages project with a different repository.
After a transfer, linking the new owner's GitHub App installation to your Cloudflare account does not update the existing project's Git connection. Disconnecting the repository pauses automatic deployments from Git.
In GitHub, check that the Cloudflare Workers & Pages app has access to the repository you want to connect. If you transferred the repository, check the installation under its new owner.
- In your Pages project, go to Settings > Build. Under Git repository, select Disconnect and confirm. Skip this step if the project already shows Connect.
- Under Git repository, select Connect. Choose the GitHub account or organization and repository, check the production branch and build settings, then select Connect. The dashboard starts a new deployment.
You can use cf if your Cloudflare account already links to the repository owner's GitHub App installation and you have authorized the app with your GitHub user. If you get error 8000011 (missing or stale installation link) or 8000124 (GitHub authorization required), use the Dashboard tab. cf cannot link the installation or authorize GitHub.
Install or update cf, then set CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN. Use a user API token with Cloudflare Pages: Edit from the Cloudflare user who authorized GitHub.
-
Set
PROJECTto your Pages project name and save its settings before disconnecting. Keeppages-project.jsonprivate because it can contain environment variables.PROJECT=my-pages-project cf pages get "$PROJECT" > pages-project.json -
Copy the
sourceobject frompages-project.jsoninto a new file namedpages-source.json. Keep the branch, path, and automatic deployment settings you want. Setconfig.ownerandconfig.repo_nameto the GitHub owner and repository name. Look up the repository with the GitHub REST API ↗︎. Copyowner.idtoconfig.owner_idandidtoconfig.repo_id. Put both IDs in quotes.Example for a project without a connected repository
If your project has no
sourceobject, use this example to createpages-source.json. Replace the owner, repository, IDs, and production branch with your values. Review the settings before connecting.pages-source.jsonjson { "type": "github", "config": { "owner": "new-owner", "owner_id": "12345678", "repo_name": "my-repository", "repo_id": "23456789", "production_branch": "main", "deployments_enabled": true, "production_deployments_enabled": true, "preview_deployment_setting": "all", "preview_branch_includes": [], "preview_branch_excludes": [], "path_includes": ["*"], "path_excludes": [], "pr_comments_enabled": true } } -
Disconnect the old repository. Skip this step if the project already has no connected repository. The command prompts for confirmation. In a non-interactive script, add
--forceto skip the prompt.cf pages source disconnect "$PROJECT" -
Connect the repository with your updated settings.
cf pages source connect "$PROJECT" --body "$(cat pages-source.json)" -
To deploy now, create a deployment. Replace
mainwith the branch you want to deploy. The connect command does not start a deployment on its own.cf pages deployments create "$PROJECT" --branch main
If you cannot reconnect a transferred repository, transfer it back to the original owner or create a new Pages project with the transferred repository.
You may have excluded this repository from your installation's repository access settings. Go to your GitHub installation settings:
- Individual accounts ↗︎
- Organization accounts:
https://github.com/organizations/<YOUR_ORGANIZATION_NAME>/settings/installations
Select Configure on the Cloudflare Workers and Pages application. Under Repository access, ensure that the repository associated with your Cloudflare Pages project is included in the list.
For a GitHub repository, error 8000011 can mean that your Cloudflare account has no link to the repository owner's GitHub App installation, or that GitHub no longer recognizes the linked installation.
- Sign in to GitHub as a user who can access the repository. Authorize the app if Cloudflare prompts you.
- In the GitHub account or organization that owns the repository, check that the Cloudflare Workers & Pages app is installed and that Repository access includes the repository. Install the app if it is missing.
- In the Cloudflare account you want to use, finish connecting the repository. For a new project, follow the Git integration setup guide. For an existing project, use the Dashboard tab under Reconnect a GitHub repository.
Seeing the repository in the picker does not mean your Cloudflare account already has a link to the installation. If your account needs a link, Pages creates it when you submit the connection.
For GitLab, reinstall the GitLab integration.
If you still see the error, contact support.
GitHub/GitLab is having an incident and push events to Cloudflare are operating in a degraded state. Check their status page for more details.
This indicates that GitHub or GitLab may be experiencing an incident affecting push events to Cloudflare. Monitor their status pages (GitHub ↗︎, GitLab ↗︎) for updates and try deploying again later.