{"record":{"id":"21c9c2b250a1ff5f","repo":"GopeedLab/gopeed","slug":"unsupported-object-type-for-gopeed-runtime-blob-cr","errorCode":null,"errorMessage":"Unsupported object type for gopeed.runtime.blob.createObjectURL: ${getValueTypeName(described.value)}. Expected Blob or opener function","messagePattern":"Unsupported object type for gopeed\\.runtime\\.blob\\.createObjectURL: (.+?)\\. Expected Blob or opener function","errorType":"validation","errorClass":"TypeError","httpStatus":null,"severity":"error","filePath":"pkg/download/engine/inject/stream/stream.js","lineNumber":877,"sourceCode":"      Promise.resolve().then(startPipe);\n    }\n  };\n\n  globalThis.__gopeed_blob_create_object_url = function (value, options) {\n    const described = describeObjectURLValue(value);\n    if (described.kind === \"blob\") {\n      const blob = described.value;\n      const normalized = normalizeBlobObjectURLOptions(blob, options, Number(blob.size) > 0);\n      validateBlobObjectURLOptions(normalized);\n      const opener = async (request) => openBlobReadable(blob, request);\n      return createBlobObjectURL(opener, normalized);\n    }\n    if (described.kind === \"opener\") {\n      const normalized = normalizeBlobObjectURLOptions(null, options, false);\n      validateBlobObjectURLOptions(normalized);\n      return createBlobObjectURL(described.openReadable, normalized);\n    }\n    throw new TypeError(\"Unsupported object type for gopeed.runtime.blob.createObjectURL: \" + getValueTypeName(described.value) + \". Expected Blob or opener function\");\n  };\n\n  globalThis.__gopeed_blob_revoke_object_url = function (url) {\n    if (typeof url === \"string\") {\n      revokeObjectURL(url);\n    }\n  };\n\n  const originalFetch = typeof globalThis.fetch === \"function\"\n    ? globalThis.fetch.bind(globalThis)\n    : null;\n\n  if (typeof fetchOpen === \"function\") {\n    globalThis.fetch = async function (input, init) {\n      const request = new Request(input, init);\n      if (originalFetch && (request.method === \"HEAD\" || request.redirect === \"manual\" || request.redirect === \"error\")) {\n        return originalFetch(input, init);\n      }","sourceCodeStart":859,"sourceCodeEnd":895,"githubUrl":"https://github.com/GopeedLab/gopeed/blob/7b7327ffb30816273a74b142cccc0bc10c5a4c67/pkg/download/engine/inject/stream/stream.js#L859-L895","documentation":"Error \"Unsupported object type for gopeed.runtime.blob.createObjectURL: ${getValueTypeName(described.value)}. Expected Blob or opener function\" thrown in GopeedLab/gopeed.","triggerScenarios":"Thrown at pkg/download/engine/inject/stream/stream.js:877 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":"7b7327ffb30816273a74b142cccc0bc10c5a4c67","analyzedAt":"2026-08-16T02:51:03.250Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}