© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Error 404 generated when working with "await authClient.auth.getSession()" - Neon
N
Neon
•
4mo ago
•
2 replies
efficient-indigo
Error 404 generated when working with "await authClient.auth.getSession()"
☁️
Serverless
Neon
Node.js
🪲
Bug
I couldn
't use the following code example until now because it produced a 404 error status
:
import
{ createAuthClient
} from
'
@neondatabase
/neon
-js
/auth
'
;
window
.authClient
= createAuthClient
(
'
https://*****.aws.neon.tech/neondb/auth
'
)
;
/
/ error 404
:
https://*****.aws.neon.tech/neondb/auth/auth/get-session
console
.log
(await authClient
.auth
.getSession
(
)
)
;
please fix it soon
.
Neon
Join
The official Neon Database Discord
10,545
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Unknown internal server error when enabling Neon Auth
N
Neon / ❓|questions-and-answers
4mo ago
Neon Auth Proxy not working with Nextjs Server Actions
N
Neon / ❓|questions-and-answers
2mo ago
Neon Auth Beta error
N
Neon / ❓|questions-and-answers
8mo ago
RLS PostgreSQL with Next Auth?
N
Neon / ❓|questions-and-answers
14mo ago