Skip to content

[Bug]: "Invalid Refresh Token: Refresh Token Not Found" #1069

@ujas-superr

Description

@ujas-superr

General Info

  • I checked for similar bug report
  • I am using the latest version
  • I checked the troubleshooting page for similar problems

Version(s)

3.0.0

Kotlin Target(s) and their respective versions

Android 13

What happened? (include your code)

 io.github.jan.supabase.auth.exception.AuthRestException: Invalid Refresh Token: Refresh Token Not Found
io.github.jan.supabase.auth.AuthImpl.checkErrorCodes(AuthImpl.kt:534)
io.github.jan.supabase.auth.AuthImpl.parseErrorResponse(AuthImpl.kt:502)
io.github.jan.supabase.auth.AuthenticatedSupabaseApiKt$authenticatedSupabaseApi$3.invoke(AuthenticatedSupabaseApi.kt:60)
io.github.jan.supabase.auth.AuthenticatedSupabaseApiKt$authenticatedSupabaseApi$3.invoke(AuthenticatedSupabaseApi.kt:60)
io.github.jan.supabase.network.SupabaseApi.rawRequest$suspendImpl(SupabaseApi.kt:25)
io.github.jan.supabase.network.SupabaseApi$rawRequest$1.invokeSuspend(Unknown Source:15)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

Steps To Reproduce (optional)

No particular steps I can provide because this issue happens randomly. The frequency is around weekly once.
I am managing the tokens and not auto-refreshing them in order to avoid any edge case where the refresh tokens are reused.

Relevant log output (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions