Firebase Exception error

245 views
Skip to first unread message

Arup Sarkar

unread,
Feb 6, 2017, 10:58:18 PM2/6/17
to Firebase Google Group
I am creating a user using createUserWithEmailAndPassword method as described in https://firebase.google.com/docs/auth/android/password-auth. I have pretty much followed all steps, in my firebase console I have enabled "Email/Password" sign in method. I am getting the following error. I have attached the code.

02-06 21:23:38.508 30878-30878/com.labs.kavayah.scio W/CreateAccountActivity: signInWithEmail:failed
                                                                              com.google.firebase.FirebaseException: An internal error has occurred. [ Bad Request ]
                                                                                  at com.google.android.gms.internal.zzbix.zzcb(Unknown Source)
                                                                                  at com.google.android.gms.internal.zzbiu$zzj.zza(Unknown Source)
                                                                                  at com.google.android.gms.internal.zzbjf.zzcc(Unknown Source)
                                                                                  at com.google.android.gms.internal.zzbjf$zza.onFailure(Unknown Source)
                                                                                  at com.google.android.gms.internal.zzbja$zza.onTransact(Unknown Source)
                                                                                  at android.os.Binder.execTransact(Binder.java:565)

 
Not sure where I am going wrong.
project gradle
playServicesVersion = '10.0.1'
firebaseClientVersion='2.3.1'

app gradle
    //firebase - start
compile "com.google.firebase:firebase-auth:$rootProject.ext.playServicesVersion"
compile "com.google.android.gms:play-services-auth:$rootProject.ext.playServicesVersion"
compile "com.google.firebase:firebase-database:$rootProject.ext.playServicesVersion"
compile "com.google.firebase:firebase-messaging:$rootProject.ext.playServicesVersion"
compile "com.google.firebase:firebase-config:$rootProject.ext.playServicesVersion"
compile "com.google.firebase:firebase-analytics:$rootProject.ext.playServicesVersion"
compile "com.google.android.gms:play-services-ads:$rootProject.ext.playServicesVersion"
compile "com.google.firebase:firebase-crash:$rootProject.ext.playServicesVersion"
compile "com.firebase:firebase-client-android:$rootProject.ext.firebaseClientVersion"
compile "com.google.firebase:firebase-appindexing:$rootProject.ext.playServicesVersion"
// compile 'com.firebase:firebase-client-android:2.5.2'
// compile 'com.firebaseui:firebase-ui:0.3.1'
//firebase - end
CreateAccountActivity.java

Kato Richardson

unread,
Feb 7, 2017, 12:39:40 PM2/7/17
to Firebase Google Group
Arup,

Are you positive that 2.3.1 is the correct Firebase SDK version? If so, did you migrate this project from the legacy, i.e. firebase.com/account, console? If you don't know what that means, then the answer is most likely no.

If you didn't migrate this from the old console, your Firebase SDK version should probably be closer to 10.x. (If this is a migrated legacy app, you should be using the guide at firebase.com/docs/android/guide/ instead.)

☼, Kato


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2eba6686-3ada-4b36-8188-be7839cac538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Arup Sarkar

unread,
Feb 9, 2017, 4:39:58 PM2/9/17
to Firebase Google Group
Kato, I started developing my app using client library but before I go GA I will move all to the new firebase library and completely remove client references. That is what I thought initially my problem was, but after quite a bit of troubleshooting figured out that my SHA certificate fingerprint had 2 of SHA codes and one of them was old, I removed it and everything worked fine. I have requested if it is possible to spit out some possible causes on the debug window as an improvement.

regards
arup
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2eba6686-3ada-4b36-8188-be7839cac538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages