San
San
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
i can't do anything
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
and after id
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
providerAccoundId as well
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
I do that but now i have provider and type not defined for my Account Table , you cant une better auth like
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
it's strange
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
and i have the same issue
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
I try all of these and nothing work , so i try to create a new fresh app
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
Re:
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
I tried with google as well but i got an other error
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
○ Compiling / ... ✓ Compiled / in 1297ms GET / 200 in 1553ms ○ Compiling /api/auth/[...all] ... ✓ Compiled /api/auth/[...all] in 617ms POST /api/auth/sign-in/social 200 in 1490ms GET / 200 in 185ms POST /api/auth/sign-in/social 200 in 58ms 2025-05-17T16:14:11.871Z ERROR [Better Auth]: PrismaClientValidationError: Invalid db[model].create() invocation in C:\Users\picot\Desktop\school.next\server\chunks\a78f2_better-auth_dista7efb35e..js:10126:44 10123 if (!db[model]) { 10124 throw new TURBOPACKimportedmodule$5b$project$5d2f$node_modules$2f2e$pnpm$2f$better$2d$auth$40$1$2e$2$2e$8$2f$node_modules$2f$better$2d$auth$2f$dist$2f$shared$2f$better$2d$auth$2e$DdzSJf$2d$n$2e$mjs$5b$app$2d$route$5d$$28$ecmascript$29$__["B"](Model ${model} does not exist in the database. If you haven't generated the Prisma client, you need to run 'npx prisma generate'); 10125 } → 10126 return await db[model].create({ data: { name: "Mathis", email: "[email protected]", emailVerified: true, ~~~~ image: "https://avatars.githubusercontent.com/u/144937694?v=4", createdAt: new Date("2025-05-17T16:14:11.861Z"), updatedAt: new Date("2025-05-17T16:14:11.861Z"), id: "EYfR2SE59o1OuQRsOjePlJsULGgbiepc" }, select: undefined }) Argument emailVerified: Invalid value provided. Expected DateTime or Null, provided Boolean. 2025-05-17T16:14:11.872Z ERROR [Better Auth]: unable_to_create_user GET /api/auth/callback/github?code=bf3bdb43c8b77b737e2b&state=fKUyJDGg53hTVqkmu3V_SiICpzeI4ksp 302 in 811ms
GET /api/auth/error?error=unable_to_create_user 200 in 74ms
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
yep
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
You dont talk about that ?
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
No description
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
Here i have model
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
wait i try
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
I already tried it :/
28 replies
BABetter Auth
Created by San on 5/17/2025 in #help
unable_to_create_user error
No description
28 replies