identity-samples icon indicating copy to clipboard operation
identity-samples copied to clipboard

Passphrase required exception

Open codingjeremy opened this issue 5 years ago • 3 comments

Issue by jeffreysham Saturday Jun 15, 2019 at 00:42 GMT Originally opened as https://github.com/googlesamples/android-credentials/issues/38


Hi,

I'm trying to test out smart lock to see if I should start using it in my app. I cloned the project and ran the credentials-signin project on my phone, but when I try to save a new credential, I get the following error. I looked the error code up and it is the error code for resolution required

save:FAILURE
com.google.android.gms.common.api.ApiException: 6: Passphrase required.
  at com.google.android.gms.common.internal.zzb.zzy(Unknown Source:14)
  at com.google.android.gms.common.internal.zzbk.zzz(Unknown Source:0)
  at com.google.android.gms.common.internal.zzbl.zzr(Unknown Source:32)
  at com.google.android.gms.common.api.internal.BasePendingResult.zzc(Unknown Source:46)
  at com.google.android.gms.common.api.internal.BasePendingResult.setResult(Unknown Source:42)
  at com.google.android.gms.internal.zzavw.setResult(Unknown Source:2)
  at com.google.android.gms.internal.zzavv.zze(Unknown Source:2)
  at com.google.android.gms.internal.zzawc.onTransact(Unknown Source:46)
  at android.os.Binder.execTransact(Binder.java:682)

So, I was wondering why this error was happening and how to resolve it. After looking at the saveCredential(), it seems like the exception should've been an instance of ResolvableApiException.

Thanks, Jeffrey

codingjeremy avatar Sep 10 '19 20:09 codingjeremy

actual, facing this issue

feivur avatar Jun 11 '20 07:06 feivur

Facing this too. Any reason or updates?

langrenfengzi avatar Sep 03 '20 03:09 langrenfengzi

Same for me, with Play Services 21.02.14 on stock Android M (6.0.1). However, after upgrading some bundled Google apps error goes away. The strangest thing is that the Play Services version stays the same.

theirix avatar Mar 03 '21 17:03 theirix