Skip to content

[firebase_auth]: An internal error has occurred. [ Error code:39 ] #17380

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

Closed
1 task done
Arhidev opened this issue May 21, 2025 · 3 comments
Closed
1 task done

[firebase_auth]: An internal error has occurred. [ Error code:39 ] #17380

Arhidev opened this issue May 21, 2025 · 3 comments
Labels
platform: android Issues / PRs which are specifically for Android. platform: ios Issues / PRs which are specifically for iOS. plugin: auth resolution: solution-provided A solution has been provided in the issue. type: bug Something isn't working

Comments

@Arhidev
Copy link

Arhidev commented May 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

App Check, Auth

Which platforms are affected?

Android, iOS

Description

Hello Firebase team,

I’m encountering a critical issue using Firebase Phone Authentication in Côte d’Ivoire (Ivory Coast) In Flutter App.

While phone numbers from MTN CI are able to receive OTP messages correctly, users with phone numbers from Orange CI and Moov Africa CI are not receiving any OTP SMS. This prevents a large portion of users from signing in via phone number.

🔍 Observations:
OTP works only with MTN phone numbers.

For Orange and Moov, the following error is thrown:

E/FirebaseAuth(11511): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17499 Error code:39
I/flutter (11511): verificationFailed() -> error: An internal error has occurred. [ Error code:39 ]

SMS simply never arrives to the Orange or Moov users, even though the verification process is triggered.

✅ E.164 Format Example:
✅ +2250595025164 (MTN — works)

❌ +2250749435429 (Orange — not working)

❌ +2250153441343 (Moov — not working)

This affects over 60% of mobile users in Côte d’Ivoire and renders Firebase Auth unusable for most local customers.

Reproducing the issue

E/FirebaseAuth(11511): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17499 Error code:39
I/flutter (11511): verificationFailed() -> error: An internal error has occurred. [ Error code:39 ]

Firebase Core version

3.13.0

Flutter Version

3.29.2

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

@Arhidev Arhidev added type: bug Something isn't working Needs Attention This issue needs maintainer attention. labels May 21, 2025
@sayan-avantai
Copy link

android 10,11,12 and latest 16 are getting the otp, only 13,14,15 has play integrity issue. We are also facing this thing.

@Arhidev
Copy link
Author

Arhidev commented May 22, 2025

android 10,11,12 and latest 16 are getting the otp, only 13,14,15 has play integrity issue. We are also facing this thing.

@sayan-avantai really, ok I understand, I hope this problem will be solved

@SelaseKay SelaseKay added plugin: auth platform: android Issues / PRs which are specifically for Android. platform: ios Issues / PRs which are specifically for iOS. labels May 22, 2025
@SelaseKay
Copy link
Contributor

Hi @Arhidev, thanks for the report. This seems to be related to #13103. Unfortunately, it appears to be an upstream issue and goes beyond the scope of FlutterFire. I recommend you contact Firebase Support for further assistance.

@SelaseKay SelaseKay added resolution: solution-provided A solution has been provided in the issue. and removed Needs Attention This issue needs maintainer attention. labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: android Issues / PRs which are specifically for Android. platform: ios Issues / PRs which are specifically for iOS. plugin: auth resolution: solution-provided A solution has been provided in the issue. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants