diegosouzapw/OmniRoute · error · VeoArtifactError

VIDEO_ARTIFACT_SIGNATURE_INVALID

VIDEO_ARTIFACT_SIGNATURE_INVALID

Error message

Video artifact is empty

What it means

Error "Video artifact is empty" thrown in diegosouzapw/OmniRoute.

Source

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

        await reader.cancel();
        throw new VeoArtifactError(
          "VIDEO_ARTIFACT_TOO_LARGE",
          "Video artifact exceeds the maximum supported size",
          502
        );
      }
      chunks.push(chunk);
    }
  } finally {
    reader.releaseLock();
  }

  return Buffer.concat(chunks, totalBytes);
}

function validateMp4Buffer(buffer: Buffer): void {
  if (buffer.length <= 0) {
    throw new VeoArtifactError("VIDEO_ARTIFACT_SIGNATURE_INVALID", "Video artifact is empty", 502);
  }

  if (buffer.length < 12 || buffer.toString("ascii", 4, 8) !== "ftyp") {
    throw new VeoArtifactError(
      "VIDEO_ARTIFACT_SIGNATURE_INVALID",
      "Video artifact is not a valid MP4 file",
      502
    );
  }
}

async function downloadArtifactOnce(
  context: VeoSessionContext,
  artifactUrl: string
): Promise<Buffer> {
  let currentUrl = artifactUrl;

  for (let redirectCount = 0; redirectCount <= ARTIFACT_MAX_REDIRECTS; redirectCount++) {

View on GitHub (pinned to a179ffed5b)

When it happens

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