[Better Auth]: Error 4816

I am using simple setup for better-auth trying it with Bun.serve. const server = Bun.serve({ fetch: auth.handler, port: 3000, }) export const auth = betterAuth({ plugins: [ openAPI() ], database: drizzleAdapter(db, { provider: "sqlite", }), }) Everything works ok. Just wondering if it's oke to throw error in log like this when we hit url that doesn't exist in better-auth. Server is running on http://localhost:3000/ 2025-04-24T14:36:24.970Z ERROR [Better Auth]: Error 4816 | continue; 4817 | } 4818 | if (endpoint.options?.metadata?.SERVER_ONLY) continue; 4819 | const methods = Array.isArray(endpoint.options?.method) ? endpoint.options.method : [endpoint.options?.method]; 4820 | for (const method of methods) { 4821 | addRoute(router, method, endpoint.path, endpoint);
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?