diegosouzapw/OmniRoute · error · VeoArtifactError

VIDEO_ARTIFACT_CONTENT_TYPE_INVALID

VIDEO_ARTIFACT_CONTENT_TYPE_INVALID

Error message

Video artifact returned an unsupported content type

What it means

Error "Video artifact returned an unsupported content type" thrown in diegosouzapw/OmniRoute.

Source

Thrown at open-sse/executors/veoaifree-web.ts:576

        502,
        { retryable: true }
      );
    }

    if (!response.ok) {
      throw new VeoArtifactError(
        "VIDEO_ARTIFACT_DOWNLOAD_FAILED",
        `Video artifact download failed (${response.status})`,
        502
      );
    }

    const contentType = (response.headers.get("content-type") || "")
      .split(";")[0]
      .trim()
      .toLowerCase();
    if (contentType !== "video/mp4" && contentType !== "application/octet-stream") {
      throw new VeoArtifactError(
        "VIDEO_ARTIFACT_CONTENT_TYPE_INVALID",
        "Video artifact returned an unsupported content type",
        502
      );
    }

    const buffer = await readCappedBuffer(response, ARTIFACT_MAX_BYTES);
    validateMp4Buffer(buffer);
    return buffer;
  }

  throw new VeoArtifactError(
    "VIDEO_ARTIFACT_DOWNLOAD_FAILED",
    "Video artifact exceeded the redirect limit",
    502
  );
}

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at open-sse/executors/veoaifree-web.ts:576 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/683ca16b142c7d74. Report an issue: GitHub.