diegosouzapw/OmniRoute · error · VeoArtifactError

VIDEO_ARTIFACT_URL_INVALID

VIDEO_ARTIFACT_URL_INVALID

Error message

Video artifact URL is invalid

What it means

Error "Video artifact URL is invalid" thrown in diegosouzapw/OmniRoute.

Source

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

): Promise<Response> {
  const result = await postAjax(context, nonce, {
    prompt,
    actionType: "main-prompt-generation",
  });
  const trimmed = result.trim();
  if (!trimmed || trimmed === "0") {
    return errResp("Prompt enhancement failed");
  }
  return jsonResp({ object: "prompt.enhancement", enhanced: trimmed, status: "completed" });
}

function validateArtifactUrl(input: string): URL {
  let url: URL;
  try {
    url = parseAndValidatePublicUrl(input);
  } catch (error) {
    if (error instanceof OutboundUrlGuardError) {
      throw new VeoArtifactError(
        error.code === "OUTBOUND_URL_INVALID"
          ? "VIDEO_ARTIFACT_URL_INVALID"
          : "VIDEO_ARTIFACT_URL_BLOCKED",
        error.code === "OUTBOUND_URL_INVALID"
          ? "Video artifact URL is invalid"
          : "Video artifact URL is blocked",
        502
      );
    }
    throw new VeoArtifactError("VIDEO_ARTIFACT_URL_INVALID", "Video artifact URL is invalid", 502);
  }

  if (url.protocol !== "https:") {
    throw new VeoArtifactError(
      "VIDEO_ARTIFACT_URL_INVALID",
      "Video artifact URL must use HTTPS",
      502
    );

View on GitHub (pinned to a179ffed5b)

When it happens

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