diegosouzapw/OmniRoute · error · VeoArtifactError

VIDEO_ARTIFACT_NOT_READY

VIDEO_ARTIFACT_NOT_READY

Error message

Video artifact is not available yet

What it means

downloadArtifactOnce got HTTP 202 (or another retryable status) from the artifact URL: Veo is still rendering the video and it is not ready yet. VeoArtifactError VIDEO_ARTIFACT_NOT_READY is marked retryable so downloadArtifactWithAvailabilityWindow polls again.

Solutions

  1. Keep polling within ARTIFACT_READY_MAX_ATTEMPTS and the retry interval
  2. Honor the client's abort signal between attempts
  3. If the window expires, tell the client generation is still pending
Defensive patterns

Strategy: retry

When it happens

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

Appendix: source

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

          "VIDEO_ARTIFACT_DOWNLOAD_FAILED",
          "Video artifact exceeded the redirect limit",
          502
        );
      }
      try {
        currentUrl = new URL(location, parsedUrl.toString()).toString();
      } catch {
        throw new VeoArtifactError(
          "VIDEO_ARTIFACT_URL_INVALID",
          "Video artifact redirect destination is invalid",
          502
        );
      }
      continue;
    }

    if (RETRYABLE_ARTIFACT_STATUSES.has(response.status)) {
      throw new VeoArtifactError(
        response.status === 202 ? "VIDEO_ARTIFACT_NOT_READY" : "VIDEO_ARTIFACT_UNAVAILABLE",
        "Video artifact is not available yet",
        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()

View on GitHub (pinned to a179ffed5b)