🐛 [firebase_auth] Improved error message for blocked number #5634
Replies: 7 comments
-
Hi, please follow the issue template. We can't help without any details. |
Beta Was this translation helpful? Give feedback.
-
i'm sorry about that, now i had edited that with bug report format |
Beta Was this translation helpful? Give feedback.
-
@lypsisrudiansyah |
Beta Was this translation helpful? Give feedback.
-
Well Sir, Everything is Ok now, phone number testing Ok, My Phone Number is Ok, And Other People Phone Number is Ok. I think the reason is that my phone number number was blocked because I did too many operations, but now it's Ok and Works . But one thing still make me confused, the error returns when I was login with my phone number number like this if i get blocked we expect the error return is blocked or too many operation or operation not allowed etc. |
Beta Was this translation helpful? Give feedback.
-
@lypsisrudiansyah If your phone is not set as Test Phone in the Firebase Console, and you submit some (I don't know how many) OTP requests, it starts to recognize as spam, and your number gets blocked. The exception, indeed, comes null. I've been through this issue and lost a few hours just because the error message wasn't clear (or, in this case, wasn't available). I think I'm "fixing" this by saving the users' phone for a further OTP request, and sign-in him with Anonymous authentication, I just can't afford for my user flow to get interrupted because Firebase won't let me proceed. Also, I'm getting the same null exception on random users requesting the OTP for the first time. Because of this, I'm losing their conversion because the flow gets interrupted. |
Beta Was this translation helpful? Give feedback.
-
I get triggered the verificationFailed callback with the FirebaseAuthException exception type. Inside the exception object, the property code is coming with a null value. This error is still happening on |
Beta Was this translation helpful? Give feedback.
-
Is there any update to this? According to my Sentry data, 41 of my production users have this null Exception anf can't log in (they are bot receiving a SMS code). I feel like this error is not only related to blocked users. It is only happening on Android devices and it started happening out of nowhere (I did not release a new app version for a while) |
Beta Was this translation helpful? Give feedback.
-
Bug report
i get FirebaseAuthException like this [firebase_auth/null] null, i'm using real phone number during test the app,
i tried several times yesterday, today i get this error but if i using my friend phone number it's ok and works
thanks in advance
Steps to reproduce
Steps to reproduce the behavior:
[firebase_auth/null] null
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
Beta Was this translation helpful? Give feedback.
All reactions