Common Errors
Quick reference for common errors and their solutions.
Table of contents
Authentication Errors
“Invalid token” on sign-in
Symptoms: Signing in with a PAT returns an invalid token error.
Causes:
- Token was mistyped or contains extra whitespace
- Token has been revoked in GitHub
- Token has expired
- Token type is not recognized
Solutions:
- Copy the token directly from GitHub — avoid retyping
- Check the token status at GitHub → Settings → Developer settings → Personal access tokens
- Generate a new token and try again
“Sign in with GitHub” button not appearing
Symptoms: The OAuth login button is missing from the login page.
Causes: GITHUB_CLIENT_ID environment variable is not set or the container was not restarted after adding it.
Solutions:
- Verify
GITHUB_CLIENT_IDis set in your container environment - Restart the container to apply the new environment variable
- Check container logs for OAuth configuration errors
“Redirect URI mismatch”
Symptoms: After authorizing the GitHub OAuth App, GitHub returns a redirect URI mismatch error.
Causes: The REACT_APP_BACKEND_URL environment variable does not match the callback URL registered in your GitHub OAuth App.
Solutions:
- Check the Authorization callback URL in your GitHub OAuth App settings
- Verify the
REACT_APP_BACKEND_URLenvironment variable matches exactly (including protocol and port) - Update the OAuth App or environment variable so they match
API and Permission Errors
“Not found” or missing repositories
Symptoms: Repositories are not visible or return 404 errors.
Causes:
- Fine-grained PAT was created with limited repository access
- The GitHub token does not have access to the repository
- The repository is in an organization with restricted token access
Solutions:
- Check which repositories are authorized on the fine-grained PAT
- Verify the signed-in GitHub account has access to the repository
- For organization repositories, check if the organization has blocked token access
“Insufficient permissions” on workflow operations
Symptoms: Creating, updating, or deleting workflows fails with a permission error.
Causes: The token is missing required permissions.
Solutions:
- For fine-grained PATs, verify Contents: Read and write and Actions: Read and write are set
- For classic PATs, verify the
repoandworkflowscopes are granted - Generate a new token with the correct permissions
Workflow and PR Errors
PR campaign creates no PRs
Symptoms: Starting a PR campaign completes without creating any pull requests.
Causes:
- No repositories in the project are configured
- The workflow is already up to date in all repositories
- The GitHub token lacks Pull requests: Read and write permission
Solutions:
- Verify the project has repositories added
- Check drift status — if all repositories are in sync, no PRs are needed
- Verify the PAT has pull request permissions
“Branch already exists” when creating campaign PRs
Symptoms: PR creation fails because the branch already exists.
Causes: A previous campaign created a branch that was never merged or deleted.
Solutions:
- Check the repository on GitHub for open or abandoned campaign branches
- Delete the old branch and retry the campaign
- Or merge/close the existing PR first
Next Steps
- GitHub Permissions — GitHub permission requirements in detail
- Container Startup — container startup and health issues