Jump to content

issue with phone send verification code to firebase

Recommended Posts

I have an issue with firebase send phone verification code  



 i think it need a captcha or a token 

get this error   

  "error": {
    "code": 400,
    "message": "MISSING_REQ_TYPE",
    "errors": [
        "message": "MISSING_REQ_TYPE",
        "domain": "global",
        "reason": "invalid"


Edited by xorpas

Share this post

Link to post

According to this documentation, the request requires a JSON body containing a recaptchaToken, iosSecret, iosReceipt, and phoneNumber, are you sending those values?


That being said, I think you are using an older URL, you should be using the latest Identity Toolkit API located at https://identitytoolkit.googleapis.com instead:





Edited by Remy Lebeau
  • Thanks 1

Share this post

Link to post

I can't found an example that can test it. I don't need to use sdk only tnethttpclient. Have you a basic example? 

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now