-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed as not planned
Closed as not planned
Copy link
Labels
resolution: invalidThis doesn't seem right and might not belong here.This doesn't seem right and might not belong here.type: bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
I am encountering an issue with Firebase phone authentication where the SMS verification code is not being sent and I am receiving error code 17499. Error code 17499 indicates an internal error with the message "Error code:39".
I have already tried several troubleshooting steps such as:
- Adding my debug SHA1 and SHA256 keys to the Firebase console.
- Enabling app check.
- Registering my app with Play Integrity.
- Linking Google Play with Google Cloud.
- Adding my Google Play signing key SHA1 and SHA256 to the Firebase console.
Despite these steps, I am still facing the issue. However, using a test phone number works without any issues.
Can someone please help me resolve this issue? Any help would be greatly appreciated. Thank you.
Additional context
Logs
I/PlayCore(27490): UID: [14368] PID: [27490] IntegrityService : requestIntegrityToken(IntegrityTokenRequest{nonce=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, cloudProjectNumber=xxxxxxxxxxxxx})
I/PlayCore(27490): UID: [14368] PID: [27490] IntegrityService : Initiate binding to the service.
I/PlayCore(27490): UID: [14368] PID: [27490] IntegrityService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.integrityservice.IntegrityService})
I/PlayCore(27490): UID: [14368] PID: [27490] IntegrityService : linkToDeath
I/PlayCore(27490): UID: [14368] PID: [27490] OnRequestIntegrityTokenCallback : onRequestIntegrityToken
I/PlayCore(27490): UID: [14368] PID: [27490] IntegrityService : Unbind from service.
W/System (27490): Ignoring header X-Firebase-Locale because its value was null.
2
I/System.out(27490): (HTTPLog)-Static: isSBSettingEnabled false
E/FirebaseAuth(27490): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 18002 Invalid PlayIntegrity token; app not Recognized by Play Store.
D/FirebaseAuth(27490): Re-triggering phone verification with Recaptcha flow forced for phone number +967xxxxxxxxx
I/zzf (27490): ForceRecaptchaFlow from phoneAuthOptions = true, ForceRecaptchaFlow from firebaseSettings = false
W/JavaBinder(27490): BinderProxy is being destroyed but the application did not call unlinkToDeath to unlink all of its death recipients beforehand. Releasing leaked death recipient: com.google.android.play.integrity.internal.n
I/zygote64(27490): Do full code cache collection, code=247KB, data=174KB
I/zygote64(27490): After code cache collection, code=238KB, data=144KB
W/System (27490): Ignoring header X-Firebase-Locale because its value was null.
D/ViewRootImpl@756c5f5RecaptchaActivity: setView = DecorView@c11f8a[RecaptchaActivity] TM=true MM=false
D/ViewRootImpl@756c5f5RecaptchaActivity: dispatchAttachedToWindow
E/FirebaseAuth(27490): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17499 Error code:39
I/flutter (27490): [firebase_auth/unknown] An internal error has occurred. [ Error code:39 ]
Flutter dependencies
firebase_core: ^2.15.1
firebase_messaging: ^14.6.7
firebase_auth: ^4.9.0
Metadata
Metadata
Assignees
Labels
resolution: invalidThis doesn't seem right and might not belong here.This doesn't seem right and might not belong here.type: bugSomething isn't workingSomething isn't working