© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
floyare

AuthApiError Internal server error

So I updated supabase-js from version
1.35.7
1.35.7
to
2.0.4
2.0.4
and after trying to get user data by
getUser()
getUser()
I receive error message with value of "AuthApiError Internal server error". I looked up to auth logs in supabase dashboard and found this error log:
{"component":"api","error":"invalid claim: subject missing","level":"error","method":"GET","msg":"Unhandled server error: invalid claim: subject missing","path":"/user","referer":"http://localhost:3000/","remote_addr":"MY_IP","time":"2022-10-24T14:52:21Z","timestamp":"2022-10-24T14:52:21Z"}
{"component":"api","error":"invalid claim: subject missing","level":"error","method":"GET","msg":"Unhandled server error: invalid claim: subject missing","path":"/user","referer":"http://localhost:3000/","remote_addr":"MY_IP","time":"2022-10-24T14:52:21Z","timestamp":"2022-10-24T14:52:21Z"}
.
Anybody have an idea how to fix it?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

AuthApiError
SupabaseSSupabase / help-and-questions
4y ago
500 Internal Server Error
SupabaseSSupabase / help-and-questions
6mo ago
AuthApiError: Error sending recovery email
SupabaseSSupabase / help-and-questions
7mo ago
Supabase Website - Error 500 - Internal Server Error
SupabaseSSupabase / help-and-questions
4y ago