Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput.

pprisma:query SELECT `main`.`User`.`id`, `main`.`User`.`name`, `main`.`User`.`email`, `main`.`User`.`image` FROM `main`.`User` WHERE (`main`.`User`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[next-auth][error][adapter_error_createUser]
https://next-auth.js.org/errors#adapter_error_createuser
Invalid `prisma.user.create()` invocation:

{
data: {
name: '...',
email: '...',
image: '...',
emailVerified: null
~~~~~~~~~~~~~
}
}

Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput. Available args:

type UserCreateInput {
id?: String
name?: String | Null
email?: String | Null
image?: String | Null
sessions?: SessionCreateNestedManyWithoutUserInput
Account?: AccountCreateNestedManyWithoutUserInput
}

{
message: '\n' +
'Invalid `prisma.user.create()` invocation:\n' +
'\n' +
'{\n' +
' data: {\n' +
" name: '...',\n" +
" email: '...',\n" +
" image: '...',\n" +
' emailVerified: null\n' +
' ~~~~~~~~~~~~~\n' +
' }\n' +
'}\n' +
'\n' +
'Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput. Available args:\n' +
'\n' +
'type UserCreateInput {\n' +
' id?: String\n' +
' name?: String | Null\n' +
' email?: String | Null\n' +
' image?: String | Null\n' +
' sessions?: SessionCreateNestedManyWithoutUserInput\n' +
' Account?: AccountCreateNestedManyWithoutUserInput\n' +
'}\n' +
'\n',
stack: 'Error: \n' +
'Invalid `prisma.user.create()` invocation:\n' +
'\n' +
'{\n' +
' data: {\n' +
" name: '...',\n" +
" email: '...',\n" +
" image: '...',\n" +
' emailVerified: null\n' +
' ~~~~~~~~~~~~~\n' +
' }\n' +
'}\n' +
'\n' +
'Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput. Available args:\n' +
'\n' +
'type UserCreateInput {\n' +
' id?: String\n' +
' name?: String | Null\n' +
' email?: String | Null\n' +
' image?: String | Null\n' +
' sessions?: SessionCreateNestedManyWithoutUserInput\n' +
' Account?: AccountCreateNestedManyWithoutUserInput\n' +
'}\n' +
'\n' +
'\n' +
' at ti.validate (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:149:91)\n' +
' at Wr.createMessage (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:164:13655)\n' +
' at /Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:10933\n' +
' at runInChildSpan (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:70:25817)\n' +
' at t._executeRequest (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:10922)',
name: 'Error'
}
pprisma:query SELECT `main`.`User`.`id`, `main`.`User`.`name`, `main`.`User`.`email`, `main`.`User`.`image` FROM `main`.`User` WHERE (`main`.`User`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[next-auth][error][adapter_error_createUser]
https://next-auth.js.org/errors#adapter_error_createuser
Invalid `prisma.user.create()` invocation:

{
data: {
name: '...',
email: '...',
image: '...',
emailVerified: null
~~~~~~~~~~~~~
}
}

Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput. Available args:

type UserCreateInput {
id?: String
name?: String | Null
email?: String | Null
image?: String | Null
sessions?: SessionCreateNestedManyWithoutUserInput
Account?: AccountCreateNestedManyWithoutUserInput
}

{
message: '\n' +
'Invalid `prisma.user.create()` invocation:\n' +
'\n' +
'{\n' +
' data: {\n' +
" name: '...',\n" +
" email: '...',\n" +
" image: '...',\n" +
' emailVerified: null\n' +
' ~~~~~~~~~~~~~\n' +
' }\n' +
'}\n' +
'\n' +
'Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput. Available args:\n' +
'\n' +
'type UserCreateInput {\n' +
' id?: String\n' +
' name?: String | Null\n' +
' email?: String | Null\n' +
' image?: String | Null\n' +
' sessions?: SessionCreateNestedManyWithoutUserInput\n' +
' Account?: AccountCreateNestedManyWithoutUserInput\n' +
'}\n' +
'\n',
stack: 'Error: \n' +
'Invalid `prisma.user.create()` invocation:\n' +
'\n' +
'{\n' +
' data: {\n' +
" name: '...',\n" +
" email: '...',\n" +
" image: '...',\n" +
' emailVerified: null\n' +
' ~~~~~~~~~~~~~\n' +
' }\n' +
'}\n' +
'\n' +
'Unknown arg `emailVerified` in data.emailVerified for type UserCreateInput. Available args:\n' +
'\n' +
'type UserCreateInput {\n' +
' id?: String\n' +
' name?: String | Null\n' +
' email?: String | Null\n' +
' image?: String | Null\n' +
' sessions?: SessionCreateNestedManyWithoutUserInput\n' +
' Account?: AccountCreateNestedManyWithoutUserInput\n' +
'}\n' +
'\n' +
'\n' +
' at ti.validate (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:149:91)\n' +
' at Wr.createMessage (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:164:13655)\n' +
' at /Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:10933\n' +
' at runInChildSpan (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:70:25817)\n' +
' at t._executeRequest (/Users/polar/Code/yardpodcast.cc/yardpodcast.cc/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:10922)',
name: 'Error'
}
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server