Kong/insomnia · error

${errMsg}

Error message

${errMsg}

What it means

Error "${errMsg}" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia-vcs/src/vcs.ts:1657

  async _storeSnapshots(snapshots: Snapshot[]) {
    const promises: Promise<Snapshot>[] = [];

    for (const snapshot of snapshots) {
      const p = `/projects/${this._backendProjectId()}/snapshots/${snapshot.id}.json`;
      const promise = this._store.setItem(p, snapshot);
      // @ts-expect-error -- TSCONVERSION appears to be a genuine error
      promises.push(promise);
    }

    await Promise.all(promises);
  }

  async _storeBranch(branch: Branch) {
    const errMsg = VCS.validateBranchName(branch.name);

    if (errMsg) {
      throw new Error(errMsg);
    }

    branch.modified = new Date();
    // toLowerCase may introduce issues under case sensitive filesystems
    return this._store.setItem(
      `/projects/${this._backendProjectId()}/branches/${encodeBranchName(branch.name).toLowerCase()}.json`,
      branch,
    );
  }

  async _removeBranch(branch: Branch) {
    return this._store.removeItem(
      `/projects/${this._backendProjectId()}/branches/${encodeBranchName(branch.name)}.json`,
    );
  }

  async _removeProject(project: BackendProject) {
    console.log(`[sync] Remove local project ${project.id}`);

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia-vcs/src/vcs.ts:1657 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/bdf1f452a7f513e1. Report an issue: GitHub.