{"record":{"id":"112d0dd7ada7dd0e","repo":"diegosouzapw/OmniRoute","slug":"video-artifact-unavailable","errorCode":"VIDEO_ARTIFACT_UNAVAILABLE","errorMessage":"Video artifact did not become available in time","messagePattern":"Video artifact did not become available in time","errorType":"error_code","errorClass":"VeoArtifactError","httpStatus":502,"severity":"error","filePath":"open-sse/executors/veoaifree-web.ts","lineNumber":614,"sourceCode":"  context: VeoSessionContext,\n  artifactUrl: string\n): Promise<Buffer> {\n  let lastError: VeoArtifactError | null = null;\n\n  for (let attempt = 0; attempt < ARTIFACT_READY_MAX_ATTEMPTS; attempt++) {\n    try {\n      return await downloadArtifactOnce(context, artifactUrl);\n    } catch (error) {\n      if (!(error instanceof VeoArtifactError)) throw error;\n      if (!error.retryable) throw error;\n      lastError = error;\n      if (attempt === ARTIFACT_READY_MAX_ATTEMPTS - 1) break;\n      await waitForDuration(ARTIFACT_READY_RETRY_INTERVAL_MS, context.signal);\n    }\n  }\n\n  if (lastError?.code === \"VIDEO_ARTIFACT_NOT_READY\") {\n    throw new VeoArtifactError(\n      \"VIDEO_ARTIFACT_UNAVAILABLE\",\n      \"Video artifact did not become available in time\",\n      502\n    );\n  }\n\n  throw new VeoArtifactError(\n    \"VIDEO_ARTIFACT_UNAVAILABLE\",\n    \"Video artifact did not become available in time\",\n    502\n  );\n}\n\nfunction extractCandidateUrls(value: string): string[] {\n  return value\n    .split(/[,\\n]/)\n    .map((part) => part.trim())\n    .filter((part) => /^https?:\\/\\//i.test(part));","sourceCodeStart":596,"sourceCodeEnd":632,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/executors/veoaifree-web.ts#L596-L632","documentation":"Error \"Video artifact did not become available in time\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/executors/veoaifree-web.ts:614 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}