skip to Main Content

My app is not sending code(otp) for login with phone(firebase) and is printing the following error in Logcat. But it is logging in with testing purpose number manually inserted in firebase console.

ERROR
[SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17010 null.

what could be the problem and how can l solve it? Please Help.

Login with phone number to a firebase console with android studio application. l was expecting firebase to send me the otp code for verification

2

Answers


  1. Have you added phone as sign in method on the firebase auth console? Navigate in the firebase dashboard to Authentication, sign in method, and enable phone.

    Login or Signup to reply.
  2. You can try to add SHA1 and SHA-256 keys to your Android Studio project.

    (This case may be caused by the security rules of Firebase Authentication.)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search