Invalid `db[getModelName(model)].findFirst()` invocation in
/Users/mac/Documents/workspace/business-copilot/business-copilot-webapp/node_modules/better-auth/dist/adapters/prisma-adapter/index.cjs:168:52
165 `Model ${model} does not exist in the database. If you haven't generated the Prisma client, you need to run 'npx prisma generate'`
166 );
167 }
→ 168 const result = await db[getModelName(model)].findFirst(
Too many database connections opened: FATAL: sorry, too many clients already
2025-04-13T15:29:21.905Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR PrismaClientInitializationError:
Invalid `db[getModelName(model)].findFirst()` invocation in
/Users/mac/Documents/workspace/business-copilot/business-copilot-webapp/node_modules/better-auth/dist/adapters/prisma-adapter/index.cjs:168:52
165 `Model ${model} does not exist in the database. If you haven't generated the Prisma client, you need to run 'npx prisma generate'`
166 );
167 }
→ 168 const result = await db[getModelName(model)].findFirst(
Too many database connections opened: FATAL: sorry, too many clients already
Networking has been disabled
Invalid `db[getModelName(model)].findFirst()` invocation in
/Users/mac/Documents/workspace/business-copilot/business-copilot-webapp/node_modules/better-auth/dist/adapters/prisma-adapter/index.cjs:168:52
165 `Model ${model} does not exist in the database. If you haven't generated the Prisma client, you need to run 'npx prisma generate'`
166 );
167 }
→ 168 const result = await db[getModelName(model)].findFirst(
Too many database connections opened: FATAL: sorry, too many clients already
2025-04-13T15:29:21.905Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR PrismaClientInitializationError:
Invalid `db[getModelName(model)].findFirst()` invocation in
/Users/mac/Documents/workspace/business-copilot/business-copilot-webapp/node_modules/better-auth/dist/adapters/prisma-adapter/index.cjs:168:52
165 `Model ${model} does not exist in the database. If you haven't generated the Prisma client, you need to run 'npx prisma generate'`
166 );
167 }
→ 168 const result = await db[getModelName(model)].findFirst(
Too many database connections opened: FATAL: sorry, too many clients already
Networking has been disabled