Firebase auth verifyPasswordResetCode fail with internal error

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: 11
  • Firebase Component: Authentication
  • Component version: 20.0.1

[REQUIRED] Step 3: Describe the problem

An internal exception occurs when calling verifyPasswordResetCode

W/AppError$Companion: com.google.firebase.FirebaseException: An internal error has occurred.
        at com.google.android.gms.internal.firebase-auth-api.zzte.zza(com.google.firebase:firebase-auth@@20.0.1:4)
        at com.google.android.gms.internal.firebase-auth-api.zzum.zza(com.google.firebase:firebase-auth@@20.0.1:9)
        at com.google.android.gms.internal.firebase-auth-api.zzun.zzk(com.google.firebase:firebase-auth@@20.0.1:1)
        at com.google.android.gms.internal.firebase-auth-api.zzsv.zzc(com.google.firebase:firebase-auth@@20.0.1:2)
        at com.google.android.gms.internal.firebase-auth-api.zzun.zzl(Unknown Source:0)
        at com.google.android.gms.internal.firebase-auth-api.zzuk.zzg(com.google.firebase:firebase-auth@@20.0.1:2)
        at com.google.android.gms.internal.firebase-auth-api.zztb.zzd(com.google.firebase:firebase-auth@@20.0.1:1)
        at com.google.android.gms.internal.firebase-auth-api.zzob.zzb(Unknown Source:4)
        at com.google.android.gms.internal.firebase-auth-api.zzur.zza(com.google.firebase:firebase-auth@@20.0.1:22)
        at com.google.android.gms.internal.firebase-auth-api.zzub.zzg(com.google.firebase:firebase-auth@@20.0.1:4)
        at com.google.android.gms.internal.firebase-auth-api.zzpj.zzo(com.google.firebase:firebase-auth@@20.0.1:4)
        at com.google.android.gms.internal.firebase-auth-api.zztf.zzr(com.google.firebase:firebase-auth@@20.0.1:6)
        at com.google.android.gms.internal.firebase-auth-api.zzsv.zzd(Unknown Source:15)
        at com.google.android.gms.internal.firebase-auth-api.zzsu.accept(Unknown Source:6)
        at com.google.android.gms.common.api.internal.zacj.doExecute(com.google.android.gms:play-services-base@@17.5.0:2)
        at com.google.android.gms.common.api.internal.zah.zaa(com.google.android.gms:play-services-base@@17.5.0:9)
        at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zac(com.google.android.gms:play-services-base@@17.5.0:193)
        at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zab(com.google.android.gms:play-services-base@@17.5.0:158)
        at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zaa(com.google.android.gms:play-services-base@@17.5.0:126)
        at com.google.android.gms.common.api.internal.GoogleApiManager.handleMessage(com.google.android.gms:play-services-base@@17.5.0:164)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:223)
        at android.os.HandlerThread.run(HandlerThread.java:67)

Authentication version 19.4.0 has no problem.

Relevant Code:

val firebaseAuth = FirebaseAuth.getInstance()
suspend fun test(oobCode: String?) {
  firebaseAuth.verifyPasswordResetCode(oobCode).await()
}

1 possible answer(s) on “Firebase auth verifyPasswordResetCode fail with internal error