diegosouzapw/OmniRoute · error · Error

Devin create task failed: ${response.status} ${error}

Error message

Devin create task failed: ${response.status} ${error}

What it means

Error "Devin create task failed: ${response.status} ${error}" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/cloudAgent/agents/devin.ts:40

      repo_url: params.source.repoUrl,
    };

    if (params.source.branch) {
      body.branch = params.source.branch;
    }

    const response = await fetch(`${this.baseUrl}/sessions`, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        Authorization: `Bearer ${credentials.apiKey}`,
      },
      body: JSON.stringify(body),
    });

    if (!response.ok) {
      const error = await response.text();
      throw new Error(`Devin create task failed: ${response.status} ${error}`);
    }

    const data = await response.json();

    return {
      id: taskId,
      providerId: this.providerId,
      externalId: data.id,
      status: this.mapStatus(data.status || "created"),
      prompt: params.prompt,
      source: params.source,
      options: params.options,
      activities: [],
      createdAt: new Date().toISOString(),
      updatedAt: new Date().toISOString(),
    };
  }

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/cloudAgent/agents/devin.ts:40 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/75ec53c79d4df070. Report an issue: GitHub.