New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [FIREBASE_AUTH] flutter: [firebase_auth/internal-error] An internal error has occurred, print and inspect the error details for more information. #11860
Comments
I have updated some dependencies. flutter pub deps -- --style=compact
|
Hi @shadabhashmi21, can you reach out to firebase support to see if they can help? The plugin doesn't do anything differently based on the country so if it is working for multiple countries but failing for one, it is likely not an issue with the plugin. |
Hey @shadabhashmi21. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Same issue for Pakistani phone number starting from +92 |
you will be use the country code |
Hey @shadabhashmi21. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Same issue for omani number +968 |
i am facing same issue have you fixed it |
Hi @XolmirzayevB, have you tried reaching out to firebase support for assistance? This seems like it might be an issue on the firebase backend |
Hey @shadabhashmi21. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @shadabhashmi21 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
No. Could not. I have used another service for OTP |
i am using for india ,country code is "+91 (myPhoneNumber)" same issue on xcode 15.0 and Real Device Ios 17.0 , getting error : An internal error has occurred, print and inspect the error details for more information. |
Bug report
Describe the bug
I have a Flutter app that uses firebase_auth. When requesting the OTP, it's working fine with phone number of all other countries, but in case of Oman, its throwing exception flutter: [firebase_auth/internal-error] An internal error has occurred, print and inspect the error details for more information.
Steps to reproduce
Steps to reproduce the behavior:
Use a phone number with Oman's country code (+968)
Expected behavior
When requesting OTP for Oman's phone number, an actual OTP is expected as it's happening with the phone number of any other country.
Sample project
Method to verify phone number
firebaseAuth.verifyPhoneNumber( phoneNumber: widget.phoneNumber, timeout: Duration(seconds: 15), verificationCompleted: verificationCompleted, verificationFailed: verificationFailed, codeSent: codeSent, codeAutoRetrievalTimeout: codeAutoRetrievalTimeout, );
Code which is throwing exception
final PhoneVerificationFailed verificationFailed = (FirebaseAuthException authException) { status = '${authException.message}'; setState(() { processing = false; }); print(authException); showSnackBar(context, 'Oops!', status); };
Additional context
Please note I have tried requesting OTP for India, Netherlands, Saudi Arabia, Algeria, Kuwait, and Oman, and this issue is only occurring only for Oman.
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
The text was updated successfully, but these errors were encountered: