Auth error but response 200 on vercel
Unanswered
Broad-snouted Caiman posted this in #help-forum
Broad-snouted CaimanOP
Error code :
[31m[auth][error][0m CallbackRouteError: Read more at https://errors.authjs.dev#callbackrouteerror
[31m[auth][cause][0m: TypeError: "ikm"" must be an instance of Uint8Array or a string
at i (/var/task/.next/server/chunks/782.js:398:21462)
at /var/task/.next/server/chunks/782.js:398:21744
at s (/var/task/.next/server/chunks/782.js:398:21842)
at c (/var/task/.next/server/chunks/782.js:42:18958)
at Object.o [as encode] (/var/task/.next/server/chunks/782.js:42:18019)
at Object.c (/var/task/.next/server/chunks/782.js:42:26321)
at async c (/var/task/.next/server/chunks/782.js:42:42399)
at async u (/var/task/.next/server/chunks/782.js:42:17111)
at async a (/var/task/.next/server/chunks/782.js:398:72917)
at async b (/var/task/.next/server/app/login/page.js:7:244)
[31m[auth][details][0m: {
"provider": "credentials"
}
This is the basic nextjs dashboard app then i deploy it on vercel and tried to login with the default user
[31m[auth][error][0m CallbackRouteError: Read more at https://errors.authjs.dev#callbackrouteerror
[31m[auth][cause][0m: TypeError: "ikm"" must be an instance of Uint8Array or a string
at i (/var/task/.next/server/chunks/782.js:398:21462)
at /var/task/.next/server/chunks/782.js:398:21744
at s (/var/task/.next/server/chunks/782.js:398:21842)
at c (/var/task/.next/server/chunks/782.js:42:18958)
at Object.o [as encode] (/var/task/.next/server/chunks/782.js:42:18019)
at Object.c (/var/task/.next/server/chunks/782.js:42:26321)
at async c (/var/task/.next/server/chunks/782.js:42:42399)
at async u (/var/task/.next/server/chunks/782.js:42:17111)
at async a (/var/task/.next/server/chunks/782.js:398:72917)
at async b (/var/task/.next/server/app/login/page.js:7:244)
[31m[auth][details][0m: {
"provider": "credentials"
}
This is the basic nextjs dashboard app then i deploy it on vercel and tried to login with the default user