{"record":{"id":"80e299aaa45a0e7c","repo":"diegosouzapw/OmniRoute","slug":"devin-get-status-failed-response-status-erro","errorCode":null,"errorMessage":"Devin get status failed: ${response.status} ${error}","messagePattern":"Devin get status failed: (.+?) (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/cloudAgent/agents/devin.ts","lineNumber":68,"sourceCode":"      prompt: params.prompt,\n      source: params.source,\n      options: params.options,\n      activities: [],\n      createdAt: new Date().toISOString(),\n      updatedAt: new Date().toISOString(),\n    };\n  }\n\n  async getStatus(externalId: string, credentials: AgentCredentials): Promise<GetStatusResult> {\n    const response = await fetch(`${this.baseUrl}/sessions/${externalId}`, {\n      headers: {\n        Authorization: `Bearer ${credentials.apiKey}`,\n      },\n    });\n\n    if (!response.ok) {\n      const error = await response.text();\n      throw new Error(`Devin get status failed: ${response.status} ${error}`);\n    }\n\n    const data = await response.json();\n    const status = this.mapStatus(data.status || \"created\");\n\n    const activities: CloudAgentActivity[] = (data.messages || []).map(\n      (msg: Record<string, unknown>) => ({\n        id: this.generateActivityId(),\n        type: \"message\" as const,\n        content: (msg.content as string) || \"\",\n        timestamp: (msg.created_at as string) || new Date().toISOString(),\n      })\n    );\n\n    let result;\n    if (status === CLOUD_AGENT_STATUS.COMPLETED && data.output) {\n      result = {\n        prUrl: data.pr_url,","sourceCodeStart":50,"sourceCodeEnd":86,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/cloudAgent/agents/devin.ts#L50-L86","documentation":"Error \"Devin get status failed: ${response.status} ${error}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/cloudAgent/agents/devin.ts:68 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"}