© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
4 replies
Aero51

Error: "missing destination name scopes in models.Session"after the PostgreSQL upgrade to 17.6

🟠Swift/Kotlinauth
Current version: PostgreSQL 17.6
Error: "missing destination name scopes in models.Session"
it started after the PostgreSQL upgrade
refresh_token requests fail while id_token logins work
This likely requires a GoTrue update for PostgreSQL 17 compatibility. Please help Full error:
Couldn't refresh session due to an internal server error. Retrying in 10s (Status code 500)...
                                                                                               io.github.jan.supabase.auth.exception.AuthRestException:         unexpected_failure                                                                                       missing destination name scopes in *models.Session: unexpected_failure
                                                                                                            URL: https://cnucnyusyjhfhcxtsdmr.supabase.co/auth/v1/token?grant_type=refresh_token
                                                                                                            Headers: [apikey=xyz[Wxvs], X-Client-Info=[supabase-kt/3.2.6], X-Supabase-Client-Platform=[Android], X-Supabase-Client-Platform-Version=[11], Accept=[application/json], Accept-Charset=[UTF-8]                                                                                                     Http Method: POST                                                                                              at io.github.jan.supabase.auth.AuthImpl.checkErrorCodes(AuthImpl.kt:592)
Couldn't refresh session due to an internal server error. Retrying in 10s (Status code 500)...
                                                                                               io.github.jan.supabase.auth.exception.AuthRestException:         unexpected_failure                                                                                       missing destination name scopes in *models.Session: unexpected_failure
                                                                                                            URL: https://cnucnyusyjhfhcxtsdmr.supabase.co/auth/v1/token?grant_type=refresh_token
                                                                                                            Headers: [apikey=xyz[Wxvs], X-Client-Info=[supabase-kt/3.2.6], X-Supabase-Client-Platform=[Android], X-Supabase-Client-Platform-Version=[11], Accept=[application/json], Accept-Charset=[UTF-8]                                                                                                     Http Method: POST                                                                                              at io.github.jan.supabase.auth.AuthImpl.checkErrorCodes(AuthImpl.kt:592)
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Missing destination name scopes in *models.Session
SupabaseSSupabase / help-and-questions
3mo ago
Supabase Auth refresh failing with 500: 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: "Auth Session Missing", anyone?
SupabaseSSupabase / help-and-questions
6mo ago