musistudio/claude-code-router · error · Error

Chrome login import job is ${job.status}.

Error message

Chrome login import job is ${job.status}.

What it means

Error "Chrome login import job is ${job.status}." thrown in musistudio/claude-code-router.

Source

Thrown at packages/electron/src/main/chrome-login-import.ts:79

  }

  getJob(id: string): ChromeLoginImportJob | undefined {
    const job = this.jobs.get(id);
    if (!job) {
      return undefined;
    }
    this.refreshExpiredJob(job);
    return cloneJob(job);
  }

  async openConfirmationPage(id: string): Promise<ChromeLoginImportJob> {
    const job = this.jobs.get(id);
    if (!job) {
      throw new Error("Chrome login import job was not found.");
    }
    this.refreshExpiredJob(job);
    if (job.status !== "pending") {
      throw new Error(`Chrome login import job is ${job.status}.`);
    }
    await shell.openExternal(job.confirmUrl);
    return cloneJob(job);
  }

  private async ensureServer(): Promise<ServerInfo> {
    if (this.serverInfo) {
      return this.serverInfo;
    }
    if (this.serverStartPromise) {
      return this.serverStartPromise;
    }

    this.serverStartPromise = new Promise<ServerInfo>((resolve, reject) => {
      const server = http.createServer((request, response) => {
        void this.handleRequest(request, response).catch((error) => {
          sendJson(response, 500, { error: { message: formatError(error) } });
        });

View on GitHub (pinned to 99f24806c6)

When it happens

Trigger: Thrown at packages/electron/src/main/chrome-login-import.ts:79 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of musistudio/claude-code-router@99f24806c6 (2026-08-27). Data as JSON: /api/errors/a3243d8857df56f3. Report an issue: GitHub.