Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
twofa schema is missing - Better Auth
BA
Better Auth
•
8mo ago
•
10 replies
david
twofa schema is missing
SERVER
_ERROR
:
[Error
[BetterAuthError
]
:
[
# Drizzle Adapter
]
: The model
"twoFactor
" was not found in the schema object
. Please pass the schema directly to the adapter options
.
]
{
cause
: undefined
}
POST
/api
/auth
/two
-factor
/enable 500 in 987ms
Solution
had to export it
Jump to solution
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
session schema is missing
BA
Better Auth / help
11mo ago
genericOAuth - name_is_missing
BA
Better Auth / help
4w ago
Argument `stripeCustomerId` is missing.
BA
Better Auth / help
10mo ago
Argument `token` is missing.
BA
Better Auth / help
13mo ago