Kong/insomnia · error

Not logged in

Error message

Not logged in

What it means

Error "Not logged in" thrown in Kong/insomnia.

Source

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

      await this._storeHead({ branch: 'master' });
      return this._getHead();
    }

    return head;
  }

  async _getCurrentBranch() {
    const head = await this._getHead();
    return this._getOrCreateBranch(head.branch);
  }

  async _assertSession() {
    const sessionData = await services.userSession.get();
    const { accountId, id, publicKey, symmetricKey } = sessionData;
    const privateKey = await this._getPrivateKey(sessionData);

    if (!id) {
      throw new Error('Not logged in');
    }

    return {
      accountId,
      sessionId: id,
      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}`);
    }

View on GitHub (pinned to d9bb2b0142)

When it happens

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