{"record":{"id":"466b8adb466a022b","repo":"diegosouzapw/OmniRoute","slug":"cursor-follow-up-failed-response-status-erro","errorCode":null,"errorMessage":"Cursor follow-up failed: ${response.status} ${error}","messagePattern":"Cursor follow-up failed: (.+?) (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/cloudAgent/agents/cursor.ts","lineNumber":167,"sourceCode":"  }\n\n  async sendMessage(\n    externalId: string,\n    message: string,\n    credentials: AgentCredentials\n  ): Promise<CloudAgentActivity> {\n    const response = await fetch(\n      `${this.resolveBaseUrl(credentials)}/agents/${encodeURIComponent(externalId)}/followup`,\n      {\n        method: \"POST\",\n        headers: this.authHeaders(credentials, true),\n        body: JSON.stringify({ prompt: { text: message } }),\n      }\n    );\n\n    if (!response.ok) {\n      const error = await response.text();\n      throw new Error(`Cursor follow-up failed: ${response.status} ${error}`);\n    }\n\n    return {\n      id: this.generateActivityId(),\n      type: \"message\",\n      content: message,\n      timestamp: new Date().toISOString(),\n    };\n  }\n\n  async listSources(\n    credentials: AgentCredentials\n  ): Promise<{ name: string; url: string; branch?: string }[]> {\n    const response = await fetch(`${this.resolveBaseUrl(credentials)}/repositories`, {\n      headers: this.authHeaders(credentials),\n    });\n\n    if (!response.ok) return [];","sourceCodeStart":149,"sourceCodeEnd":185,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/cloudAgent/agents/cursor.ts#L149-L185","documentation":"Error \"Cursor follow-up failed: ${response.status} ${error}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/cloudAgent/agents/cursor.ts:167 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}