diegosouzapw/OmniRoute · error

Cursor follow-up failed: ${response.status} ${error}

Error message

Cursor follow-up failed: ${response.status} ${error}

What it means

Error "Cursor follow-up failed: ${response.status} ${error}" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/cloudAgent/agents/cursor.ts:167

  }

  async sendMessage(
    externalId: string,
    message: string,
    credentials: AgentCredentials
  ): Promise<CloudAgentActivity> {
    const response = await fetch(
      `${this.resolveBaseUrl(credentials)}/agents/${encodeURIComponent(externalId)}/followup`,
      {
        method: "POST",
        headers: this.authHeaders(credentials, true),
        body: JSON.stringify({ prompt: { text: message } }),
      }
    );

    if (!response.ok) {
      const error = await response.text();
      throw new Error(`Cursor follow-up failed: ${response.status} ${error}`);
    }

    return {
      id: this.generateActivityId(),
      type: "message",
      content: message,
      timestamp: new Date().toISOString(),
    };
  }

  async listSources(
    credentials: AgentCredentials
  ): Promise<{ name: string; url: string; branch?: string }[]> {
    const response = await fetch(`${this.resolveBaseUrl(credentials)}/repositories`, {
      headers: this.authHeaders(credentials),
    });

    if (!response.ok) return [];

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/cloudAgent/agents/cursor.ts:167 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/466b8adb466a022b. Report an issue: GitHub.