Kong/insomnia · error
No branch name specified for get-or-create operation
Error message
No branch name specified for get-or-create operation
What it means
Error "No branch name specified for get-or-create operation" thrown in Kong/insomnia.
Source
Thrown at packages/insomnia-vcs/src/vcs.ts:1511
const pId = backendProjectId || this._backendProjectId();
for (const p of await this._store.keys(`/projects/${pId}/branches/`)) {
const b = await this._store.getItem(p);
if (b === null) {
// Should never happen
throw new Error(`Failed to get branch path=${p}`);
}
branches.push(b);
}
return branches;
}
async _getOrCreateBranch(name: string): Promise<Branch> {
if (!name) {
throw new Error('No branch name specified for get-or-create operation');
}
const branch = await this._getBranch(name);
if (branch === null) {
await this._storeBranch({
name,
created: new Date(),
modified: new Date(),
snapshots: [],
});
return this._getOrCreateBranch(name);
}
return branch;
}
async _getBackendProjectByRootDocument(rootDocumentId: string) {View on GitHub (pinned to d9bb2b0142)
When it happens
Trigger: Thrown at packages/insomnia-vcs/src/vcs.ts:1511 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/a1e956b9c87b45a7.
Report an issue: GitHub.