Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
[Better Auth]: Error 4816 - Better Auth
BA
Better Auth
•
10mo ago
•
7 replies
devstojko
[Better Auth]: Error 4816
I am using simple setup for better
-auth trying it with Bun
.serve
.
const server
= Bun
.serve
(
{
fetch
: auth
.handler
,
port
: 3000
,
}
)
export const auth
= betterAuth
(
{
plugins
:
[
openAPI
(
)
]
,
database
: drizzleAdapter
(db
,
{
provider
:
"sqlite
"
,
}
)
,
}
)
Everything works ok
. Just wondering if it
's oke to throw error in log like this when we hit url that doesn
't exist in better
-auth
.
Server is running on
http://localhost:3000/
2025
-04
-
2
4
T
1
4
:
3
6
:24
.970Z ERROR
[Better Auth
]
: Error 4816
| continue
;
4817
|
}
4818
| if
(endpoint
.options
?
.metadata
?
.SERVER
_ONLY
) continue
;
4819
| const methods
= Array
.isArray
(endpoint
.options
?
.method
)
? endpoint
.options
.method
:
[endpoint
.options
?
.method
]
;
4820
| for
(const method of methods
)
{
4821
| addRoute
(router
, method
, endpoint
.path
, endpoint
)
;
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
[1.4.18] Better-Auth-Cli Error
BA
Better Auth / bug-reports
2w ago
NestJS Better Auth routes
BA
Better Auth / bug-reports
6mo ago