{"record":{"id":"60b186fea5cd3a50","repo":"cube-js/cube","slug":"unable-to-find-cube-store-release-v-version-mos","errorCode":null,"errorMessage":"Unable to find Cube Store release v${version}. Most probably it was removed.","messagePattern":"Unable to find Cube Store release v(.+?)\\. Most probably it was removed\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"rust/cubestore/js-wrapper/src/download.ts","lineNumber":63,"sourceCode":"    await downloadAndExtractFile(url, {\n      cwd: cubestorePath,\n      showProgress: true,\n    });\n  } catch (e: any) {\n    if (e.toString().includes('Not Found')) {\n      const release = await fetchRelease(version);\n      if (release) {\n        if (release.assets.length === 0) {\n          throw new Error(\n            `There are no artifacts for Cube Store v${version}. Most probably it is still building. Please try again later.`\n          );\n        }\n\n        throw new Error(\n          `Cube Store v${version} Artifact for ${currentTarget} doesn't exist. Most probably it is still building. Please try again later.`\n        );\n      } else {\n        throw new Error(\n          `Unable to find Cube Store release v${version}. Most probably it was removed.`\n        );\n      }\n    } else {\n      throw e;\n    }\n  }\n}\n","sourceCodeStart":45,"sourceCodeEnd":72,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/rust/cubestore/js-wrapper/src/download.ts#L45-L72","documentation":"Thrown by downloadBinaryFromRelease when the binary download 404'd and fetchRelease() returns no release (falsy) for tag v${version} in the cube-js/cube.js repo — meaning the GitHub release itself cannot be found, not just its assets. The library interprets this as the release having been deleted or not yet created.","triggerScenarios":"getBinary() -> downloadBinaryFromRelease() with the local cubestored missing; downloadAndExtractFile() fails with 'Not Found'; fetchRelease(version) returns undefined/null because GET /repos/cube-js/cube.js/releases/tags/v${version} found no release (404) — this can also happen if the API call fails in a way returning no release or a CUBEJS_GH_API_TOKEN-authenticated request hits an unexpected state.","commonSituations":"Installing a custom/patched version of @cubejs-backend/cubestool whose package version has no matching cube.js release tag; version skew where the js-wrapper package.json version predates or postdates the release tag; a release that was deleted/re-tagged; running a dev build of the monorepo where version in rust/cubestore/js-wrapper/package.json has no published GitHub release.","solutions":["Verify the exact version in node_modules/@cubejs-backend/cubestool (or rust/cubestore/js-wrapper)/package.json and confirm a matching tag exists at github.com/cube-js/cube.js/releases/tag/v${version}.","Reinstall a published cube.js version so the wrapper version matches an existing release (e.g. yarn add @cubejs-backend/cubestool@<published-version>).","If running from the monorepo/source, set CUBEJS_GH_API_TOKEN and ensure you are not on an unpublished dev version; build cubestored locally instead.","Check whether the release was removed or re-tagged upstream and upgrade to a version that has a valid release."],"exampleFix":"// before\n\"@cubejs-backend/cubestool\": \"0.35.0-beta.3\"\n// after: use a published version with a matching GitHub release\n\"@cubejs-backend/cubestool\": \"0.35.0\"","handlingStrategy":"validation","validationCode":"import { version } from '@cubejs-backend/cubestool/package.json';\nconst res = await fetch(`https://api.github.com/repos/cube-js/cube.js/releases/tags/v${version}`);\nif (res.status === 404) {\n  throw new Error(`Version ${version} has no GitHub release; use a published version.`);\n}","typeGuard":"function releaseExists(res: { status: number }): boolean {\n  return res.status === 200;\n}","tryCatchPattern":"try {\n  await cubeStoreHandler.acquire();\n} catch (e) {\n  if (/Unable to find Cube Store release/.test(String(e))) {\n    throw new Error('Installed cubestool version has no matching release — reinstall a published version.');\n  } else { throw e; }\n}","preventionTips":["Never install beta/canary/custom builds of @cubejs-backend/cubestool unless you build cubestored yourself","Keep package.json versions aligned with published cube.js release tags","Avoid patching the wrapper's package.json version in local development","Confirm the release tag exists upstream before pinning a version"],"tags":["network","github-release","version-mismatch","binary-download"],"backgroundTag":"cubestore-release-not-found","analyzedSha":"7d981676b36392fec34088b9afab6bdcad40207c","analyzedAt":"2026-09-02T03:45:10.400Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}