Hi,
Can you help me with this? I got this error when I call the https://identitytoolkit.googleapis.com/v2/accounts/mfaSignIn:start?key=[KEY]
and the error appears when the testing phone numbers not added on Multi Factor Authentication setting.
Are you using Firebase Authentication? Did you disable the captcha request (or silent APN request)? If so, Firebase uses it to verify app environment, and you are trying to sign in on a non-white-listed number.
What documentation are you following to set up the authentication? Can you also post the complete error you are getting, please?
Here is some documentation that you can find useful:
[1]:https://github.com/invertase/react-native-firebase/issues/4505
[3]:https://cloud.google.com/identity-platform/docs/test-phone-numbers
[4]:https://cloud.google.com/identity-platform/docs/web/mfaAccording to Admin Authentication API Errors, an invalid argument was provided to an Authentication method. It seems that the response parameter is invalid or malformed according to the Error code reference.
Check Enable Phone Number sign-in for your Firebase project for more information.
You can also check the following SO links to workaround:
1. SO Case about Invalid input response and secret when verifying Google reCaptcha:
https://stackoverflow.com/q/54695089/17544309
2. SO Case about MISSING_CLIENT_IDENTIFIER, while trying to do PhoneAuth in Android:
3. SO Case about Firebase phone authentication is not working on Android real device:
I will repost a bigger image of your first post that I took from here.