Why can I only see public repositories after connecting GitHub?
If you can see only public repositories but not private repositories, review your GitHub App installation settings.
Insomnia uses the GitHub App integration. The app must be granted access to private repositories during installation.
To verify repository access:
- Navigate to Insomnia GitHub App.
- Click Configure.
- Select your account or organization.
- Under Repository access, confirm that:
- All repositories is selected, or
- The required private repositories are explicitly included.
- If you make changes, click Save.
After updating the installation settings, disconnect and reconnect GitHub in Insomnia if the repositories still don’t appear.
Which Personal Access Token should I use for Git Sync?
If you authenticate using a Personal Access Token (PAT), use a fine-grained PAT.
Navigate to Github Personal access tokens and ensure that the token is configured to allow access to the repositories you want to sync.
Why do I get a 403 error when committing?
A 403 Forbidden error usually indicates that Insomnia does not have access to the target repository.
If you use GitHub, navigate to Github applications to ensure that the Insomnia GitHub App is installed and has access to the repository.
If you use a managed GitHub account that restricts GitHub App installation, use the Git tab and configure the repository with the generic Git workflow instead.
I tried the Insomnia beta version and then downgraded back to the release version. Why do I get a ‘Could not find HEAD’ error?
You haven’t lost anything in your project, but after downgrading you need to specify which branch to use in your Git Sync project again. To fix the error:
- Open your project.
- Restart Insomnia.
- Open the Git menu in the bottom-left corner.
- Select your desired branch.