{"record":{"id":"359bb3e59a552e98","repo":"diegosouzapw/OmniRoute","slug":"invalid-base62-character-char","errorCode":null,"errorMessage":"Invalid base62 character: ${char}","messagePattern":"Invalid base62 character: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"open-sse/executors/muse-spark-web.ts","lineNumber":175,"sourceCode":"\nfunction encodeBase62(value: bigint, padLength: number): string {\n  let remaining = value;\n  let encoded = \"\";\n\n  while (remaining > 0n) {\n    encoded = BASE62_ALPHABET[Number(remaining % 62n)] + encoded;\n    remaining /= 62n;\n  }\n\n  return encoded.padStart(padLength, \"0\");\n}\n\nfunction decodeBase62(value: string): bigint {\n  let decoded = 0n;\n  for (const char of value) {\n    const index = BASE62_ALPHABET.indexOf(char);\n    if (index < 0) {\n      throw new Error(`Invalid base62 character: ${char}`);\n    }\n    decoded = decoded * 62n + BigInt(index);\n  }\n  return decoded;\n}\n\nfunction randomBigInt(byteLength: number): bigint {\n  const bytes = new Uint8Array(byteLength);\n  crypto.getRandomValues(bytes);\n  let result = 0n;\n  for (const byte of bytes) {\n    result = (result << 8n) | BigInt(byte);\n  }\n  return result;\n}\n\nfunction generateMetaConversationId(): string {\n  const timestamp = BigInt(Date.now()) & ((1n << 44n) - 1n);","sourceCodeStart":157,"sourceCodeEnd":193,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/executors/muse-spark-web.ts#L157-L193","documentation":"Error \"Invalid base62 character: ${char}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/executors/muse-spark-web.ts:175 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"}