Kong/insomnia · error
HTTP Error: ${response.status} ${response.statusText}
Error message
HTTP Error: ${response.status} ${response.statusText} What it means
Error "HTTP Error: ${response.status} ${response.statusText}" thrown in Kong/insomnia.
Source
Thrown at packages/insomnia/src/sync/git/providers/gitlab.ts:196
/**
* Validate credentials against the GitLab API.
* Hits `GET /user` — lightweight and authoritative: returns 401 when the
* token is revoked or has expired (and auto-renewal is not possible).
*/
async validateCredentials(credential: GitCredentials): Promise<void> {
if (!isGitCredentialsV2(credential) || credential.provider !== 'gitlab') {
throw new Error('Invalid credential type for GitLab provider');
}
const response = await net.fetch(`${this.config.apiUrl}/user`, {
headers: {
Authorization: `Bearer ${credential.credentials?.token}`,
},
});
if (!response.ok) {
throw new Error(`HTTP Error: ${response.status} ${response.statusText}`);
}
}
/**
* Fetch projects (repositories) accessible by the credential
*/
async fetchRepositories(credential: GitCredentials): Promise<ProviderRepository[]> {
if (!isGitCredentialsV2(credential) || credential.provider !== 'gitlab') {
throw new Error('Invalid credential type for GitLab provider');
}
const repos: ProviderRepository[] = [];
let page = 1;
const perPage = 100;
while (true) {
const response = await net.fetch(
`${this.config.apiUrl}/projects?membership=true&per_page=${perPage}&page=${page}&order_by=last_activity_at`,View on GitHub (pinned to d9bb2b0142)
When it happens
Trigger: Thrown at packages/insomnia/src/sync/git/providers/gitlab.ts:196 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26).
Data as JSON: /api/errors/22cb675c91e9568d.
Report an issue: GitHub.