Skip to main content

Troubleshooting "repository not found" / Failed to fetch GitHub repository (GitHub App)

Resolve GitHub App pipeline failures where new pipelines fail with repository not found or Failed to fetch github repository.

Problem

On a GitHub App–connected project, new pipelines fail with one of:

  • failed to fetch repository information: repository not found

  • Failed to fetch github repository from GitHub

  • API v2 /pipeline/run returns HTTP 400 with the same message

Rerunning an existing workflow may still succeed. New pipelines re-check the live GitHub repository and fail if CircleCI cannot see it.

What to check

  1. Confirm the GitHub repository exists

  2. GitHub App repo access

    GitHub → Organization Settings → GitHub Apps → CircleCI → Repository access. Confirm the repo is included (or “All repositories”), then retry a new pipeline.

  3. Checkout source and Config source

    Project Settings → Project Setup: both should point at the same live repo and the correct path to .circleci/config.yml.

  4. Stale pipeline definition

    Create a new pipeline definition selecting the repo again (or delete/recreate the trigger + config source), then push a commit.

Contact Support

If the steps above do not resolve the issue, contact CircleCI Support.

Related

Did this answer your question?