Error: hex string expected

Hi, I have an error when logging in, even though I think I've configured everything correctly. Here are some ss I'm a newbie, so I'm probably missing something. enerator client { provider = "prisma-client-js" output = "../lib/generated/prisma" } datasource db { provider = "postgresql" url = env("DATABASE_URL") } // Better Auth required models model User { id String @id @default(cuid()) name String? email String @unique emailVerified Boolean @default(false) image String? createdAt DateTime @default(now()) updatedAt DateTime @updatedAt
// Relations accounts Account[] sessions Session[]
@@map("user") } model Account { id String @id @default(cuid()) userId String accountId String providerId String accessToken String? refreshToken String? idToken String? accessTokenExpiresAt DateTime? refreshTokenExpiresAt DateTime? scope String? password String? createdAt DateTime @default(now()) updatedAt DateTime @updatedAt
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
@@unique([providerId, accountId]) @@map("account") } model Session { id String @id @default(cuid()) userId String expiresAt DateTime token String @unique createdAt DateTime @default(now()) updatedAt DateTime @updatedAt ipAddress String? userAgent String?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
@@map("session") } model Verification { id String @id @default(cuid()) identifier String value String expiresAt DateTime createdAt DateTime @default(now()) updatedAt DateTime @updatedAt
@@unique([identifier, value]) @@map("verification") }
No description
No description
2 Replies
inanc23
inanc23OP4mo ago
No description
El cocinero
El cocinero2mo ago
Hello, did you manage to resolve this? I'm facing the same error..

Did you find this page helpful?