© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Property 'surname' does not exist on type ... - Better Auth
BA
Better Auth
•
13mo ago
•
3 replies
russssl
Property 'surname' does not exist on type ...
I added custom surname field to user
, added it inside additional fields in config but when using
{session
.user
.surname
} i get the error above even though surname clearly exists and is correctly displayed on the page
Better Auth
Join
10,204
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Property 'signIn' does not exist on type
BA
Better Auth / help
4mo ago
Property 'oauth2' does not exist on type
BA
Better Auth / help
11mo ago
Type error: Property 'getFullOrganization' does not exist on type 'InferAPI
BA
Better Auth / help
14mo ago
Property 'stripeCustomerId' does not exist
BA
Better Auth / help
8mo ago