© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
twofa schema is missing - Better Auth
BA
Better Auth
•
9mo 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
Recent Announcements
Similar Threads
session schema is missing
BA
Better Auth / help
12mo ago
genericOAuth - name_is_missing
BA
Better Auth / help
3mo ago
Argument `stripeCustomerId` is missing.
BA
Better Auth / help
12mo ago
Argument `token` is missing.
BA
Better Auth / help
14mo ago