{"record":{"id":"04de59dd5e0defaa","repo":"clockworklabs/SpacetimeDB","slug":"http-route-for-path-route-path-refers-to-a-ha","errorCode":null,"errorMessage":"HTTP route for path '${route.path}' refers to a handler that was not exported.","messagePattern":"HTTP route for path '(.+?)' refers to a handler that was not exported\\.","errorType":"exception","errorClass":"TypeError","httpStatus":null,"severity":"error","filePath":"crates/bindings-typescript/src/server/schema.ts","lineNumber":211,"sourceCode":"        throw new TypeError(\n          `Table ${tableName} defines multiple schedules: ${existingFunctionName} and ${functionName}. A schedule table can only be used by one reducer or procedure.`\n        );\n      }\n      scheduledTables.set(tableName, functionName);\n      this.moduleDef.schedules.push({\n        sourceName: undefined,\n        tableName,\n        scheduleAtCol,\n        functionName,\n      });\n    }\n  }\n\n  resolveHttpRoutes() {\n    for (const route of this.pendingHttpRoutes) {\n      const handlerFunction = this.httpHandlerExports.get(route.handler);\n      if (handlerFunction === undefined) {\n        throw new TypeError(\n          `HTTP route for path '${route.path}' refers to a handler that was not exported.`\n        );\n      }\n      this.moduleDef.httpRoutes.push({\n        handlerFunction,\n        method: route.method,\n        path: route.path,\n      });\n    }\n  }\n}\n\ntype PendingSchedule = {\n  table: UntypedTableSchema;\n  tableName?: string;\n  scheduleAtCol?: number;\n  reducer?: () => UntypedScheduledFunctionExport;\n  functionName?: string;","sourceCodeStart":193,"sourceCodeEnd":229,"githubUrl":"https://github.com/clockworklabs/SpacetimeDB/blob/524b4487d949b61a07d4f39c862d1290259dfd20/crates/bindings-typescript/src/server/schema.ts#L193-L229","documentation":"Error \"HTTP route for path '${route.path}' refers to a handler that was not exported.\" thrown in clockworklabs/SpacetimeDB.","triggerScenarios":"Thrown at crates/bindings-typescript/src/server/schema.ts:211 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":"524b4487d949b61a07d4f39c862d1290259dfd20","analyzedAt":"2026-08-16T23:58:54.611Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}