How to fix the API error "could not find GitHub app installation"

Last updated: December 12, 2024

When encountering the "Could not find GitHub app installation" error, it typically means that Spacelift cannot find the required GitHub app installation associated.

If you are using the Github custom app, you will need to include GITHUB_ENTERPRISE and a namespace field under the vcs config, the value of that would be your org name.

  • Here is an example configuration:

    vcs:
        branch: main
        namespace: example
        repository: example
        provider: GITHUB_ENTERPRISE

  • For detailed options, refer to the Blueprint Example section in the documentation.