Error while creating new user with prisma adapter #4516
-
Adapter type@next-auth/prisma-adapter EnvironmentSystem: npmPackages: Reproduction URLhttps://github.com/nextauthjs/next-auth-example Describe the issueSeems like one data object in AccountUncheckedCreateInput is missing: Invalid 16 }, Unknown arg type AccountUncheckedCreateInput { Error: 16 }, Unknown arg type AccountUncheckedCreateInput { name: 'LinkAccountError', How to reproduceadd coinbase provider with credentials Expected behavioradapter should add Account along with User |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
created_at is not part of the default schema, but you can add it if you need it. 👍 |
Beta Was this translation helpful? Give feedback.
-
|
linkAccount: (data) => { return p.account.create({ data: modifiedData }); |
Beta Was this translation helpful? Give feedback.

created_at is not part of the default schema, but you can add it if you need it. 👍