© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•14mo ago•
2 replies
mr.peralta

error.code is undefined when using supabase.auth.updateUser

After debugging, is seems like
parseResponseAPIVersion
parseResponseAPIVersion
function returns
null
null
, as it's not able to get the
X-Supabase-Api-Version
X-Supabase-Api-Version
header.
The header is present in the response, but is not accessible by JS. Is the value of
access-control-expose-headers
access-control-expose-headers
a possible issue?
image.png
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

auth.updateUser vs auth.admin.updateUserById
SupabaseSSupabase / help-and-questions
4y ago
504 error when using supabase auth
SupabaseSSupabase / help-and-questions
6mo ago
supabase.auth.getUser and supabase.auth.updateUser across simultaneous server sessions
SupabaseSSupabase / help-and-questions
13mo ago
updateUser error
SupabaseSSupabase / help-and-questions
4mo ago