NextAuth Google Auth provided value for column is too long
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for
[next-auth][error][adapter_error_linkAccount]
https://next-auth.js.org/errors#adapter_error_linkaccount
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for {
message: '\n' +
'Invalid `prisma.account.create()` invocation:\n' +
'\n' +
'\n' +
"The provided value for the column is too long for the column's type. Column: for",
stack: 'Error: \n' +
'Invalid `prisma.account.create()` invocation:\n' +
'\n' +
'\n' +
"The provided value for the column is too long for the column's type. Column: for\n" +
' at Zr.handleRequestError (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:171:6414)\n' +
' at Zr.handleAndLogRequestError (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:171:5948)\n' +
' at Zr.request (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:171:5786)\n' +
' at async t._request (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:174:10455)',
name: 'Error'
}
[next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR]
https://next-auth.js.org/errors#oauth_callback_handler_error
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for Error:
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for
at Zr.handleRequestError (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:171:6414)
at Zr.handleAndLogRequestError (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:171:5948)
at Zr.request (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:171:5786)
at async t._request (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:174:10455) {
name: 'LinkAccountError',
code: 'P2000'
}
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for
[next-auth][error][adapter_error_linkAccount]
https://next-auth.js.org/errors#adapter_error_linkaccount
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for {
message: '\n' +
'Invalid `prisma.account.create()` invocation:\n' +
'\n' +
'\n' +
"The provided value for the column is too long for the column's type. Column: for",
stack: 'Error: \n' +
'Invalid `prisma.account.create()` invocation:\n' +
'\n' +
'\n' +
"The provided value for the column is too long for the column's type. Column: for\n" +
' at Zr.handleRequestError (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:171:6414)\n' +
' at Zr.handleAndLogRequestError (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:171:5948)\n' +
' at Zr.request (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:171:5786)\n' +
' at async t._request (C:\\Users\\masen\\code\\classcrate\\node_modules\\.pnpm\\@[email protected][email protected]\\node_modules\\@prisma\\client\\runtime\\library.js:174:10455)',
name: 'Error'
}
[next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR]
https://next-auth.js.org/errors#oauth_callback_handler_error
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for Error:
Invalid `prisma.account.create()` invocation:
The provided value for the column is too long for the column's type. Column: for
at Zr.handleRequestError (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:171:6414)
at Zr.handleAndLogRequestError (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:171:5948)
at Zr.request (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:171:5786)
at async t._request (C:\Users\masen\code\classcrate\node_modules\.pnpm\@[email protected][email protected]\node_modules\@prisma\client\runtime\library.js:174:10455) {
name: 'LinkAccountError',
code: 'P2000'
}
2 Replies
planetscale?
might need to change it to String @db.Text
that worked thanks