{"record":{"id":"15a667750d58cb3d","repo":"Kong/insomnia","slug":"the-remote-branch-remotebranchname-does-not-e","errorCode":null,"errorMessage":"The remote branch \"${remoteBranchName}\" does not exist","messagePattern":"The remote branch \"(.+?)\" does not exist","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/insomnia-vcs/src/vcs.ts","lineNumber":797,"sourceCode":"      const snapshot = await this._assertSnapshot(id);\n      snapshots.push(snapshot);\n\n      for (const entry of snapshot.state) {\n        allBlobIds.add(entry.blob);\n      }\n    }\n\n    // Figure out which blobs the backend is missing\n    const missingIds = await this._queryBlobsMissing(Array.from(allBlobIds));\n    await this._queryPushBlobs(missingIds);\n    await this._queryPushSnapshots(snapshots);\n  }\n\n  async customFetch(localBranchName: string, remoteBranchName: string) {\n    const remoteBranch: Branch | null = await this._queryBranch(remoteBranchName);\n\n    if (!remoteBranch) {\n      throw new Error(`The remote branch \"${remoteBranchName}\" does not exist`);\n    }\n\n    // Fetch snapshots and blobs from remote branch\n    const snapshotsToFetch: string[] = [];\n\n    for (const snapshotId of remoteBranch.snapshots) {\n      const localSnapshot = await this._getSnapshot(snapshotId);\n\n      if (!localSnapshot) {\n        snapshotsToFetch.push(snapshotId);\n      }\n    }\n\n    // Find blobs to fetch\n    const blobsToFetch = new Set<string>();\n    const snapshots = await this._querySnapshots(snapshotsToFetch);\n\n    for (const snapshot of snapshots) {","sourceCodeStart":779,"sourceCodeEnd":815,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia-vcs/src/vcs.ts#L779-L815","documentation":"Error \"The remote branch \"${remoteBranchName}\" does not exist\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia-vcs/src/vcs.ts:797 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":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}