SMS verification code request failed: unknown status code: 17028 Invalid request fields in play_integrity_token - Flutter

E/FirebaseAuth(12806): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17028 Invalid request fields in play_integrity_token D/FirebaseAuth(12806): Invoking original failure callbacks after phone verification failure for +994503731324, error - This app is not authorized to use Firebase Authentication. Please verify that the correct package name, SHA-1, and SHA-256 are configured in the Firebase Console. [ Invalid request fields in play_integrity_token ] I/flutter (12806): This app is not authorized to use Firebase Authentication. Please verify that the correct package name, SHA-1, and SHA-256 are configured in the Firebase Console. [ Invalid request fields in play_integrity_token ]enter image description here

Upvotes: 4

Views: 5501

Answers (2)

Md. Sifatullah
Md. Sifatullah

Reputation: 1

try with your real device it will work perfectly

Upvotes: 0

Діма Шимко
Діма Шимко

Reputation: 311

in my case it happened when I was using the emulator, and tried to log in with a real number. You can use test phone numbers instead Firebase auth docs

Note; Phone number sign-in is only available for use on real devices and the web. To test your authentication flow on device emulators, please see Testing.

-----------------------------------------

addition: Sometimes wipe emulator data helps.

Upvotes: 11

Related Questions