Kong/insomnia · error

No active backend project

Error message

No active backend project

What it means

Error "No active backend project" thrown in Kong/insomnia.

Source

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

      privateKey,
      publicKey,
      symmetricKey,
    };
  }

  async _assertBranch(branchName: string) {
    const branch = await this._getBranch(branchName);

    if (branch === null) {
      throw new Error(`Branch does not exist with name ${branchName}`);
    }

    return branch;
  }

  _backendProjectId() {
    if (this._backendProject === null) {
      throw new Error('No active backend project');
    }

    return this._backendProject.id;
  }

  async _getBranch(name: string): Promise<Branch | null> {
    return this._store.getItem(`/projects/${this._backendProjectId()}/branches/${encodeBranchName(name)}.json`);
  }

  async _getBranches(backendProjectId?: string) {
    const branches: Branch[] = [];

    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) {

View on GitHub (pinned to d9bb2b0142)

When it happens

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