Microsoft login
Following the docs, newest version:
2025-02-22T11:20:43.974Z ERROR [Better Auth]: TypeError [TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE'
}
When logging in with Microsoft?
And error 500
How come?
5 Replies
Most likely related to your db schema. It’s thrown form prisma directly.
I think you can enable debugging in prisma to see a better error message.
Thats just weird! I just bumped the version + did generate
Enabled debug. Nothing
From which version did you upgrade?
Version that was pushed due to CVE
If theres any particular tables I need to check in prisma?
Try add the Environment varible DEBUG="prisma*"
And check your console outputs