© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
28 replies
Capo_Admin

Supabase Auth refresh failing with 500: missing destination name scopes in *models.Session

🤷otherauth
Details:

Project: wbxhnyoxkfakjuzvhfrk

Endpoint: POST /token with grant_type=refresh_token

Error from logs: 500: missing destination name scopes in *models.Session

Impact: Session refresh fails, users are logged out and forced to re-login (OTP).

This looks like a GoTrue / SQLX schema mismatch (column scopes exists in auth.sessions but the Session model doesn’t have a matching field). Can you confirm and apply a fix or migration on your side?
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

Missing destination name scopes in *models.Session
SupabaseSSupabase / help-and-questions
3mo ago
ERROR [AuthApiError: missing destination name refresh_token_hmac_key in *models.Session]
SupabaseSSupabase / help-and-questions
2mo ago
Error: "missing destination name scopes in models.Session"after the PostgreSQL upgrade to 17.6
SupabaseSSupabase / help-and-questions
3mo ago
Auth session missing
SupabaseSSupabase / help-and-questions
11mo ago