Recaptcha verification failed - MALFORMED

We are sending the complete body as the documentation explain.
We are trying to send verification code to phone number using sendVerificationCode endpoint. But got "Recaptcha verification failed - MALFORMED". we are sending the complete body as the documentation explain.
 
Actually I am doing this:
2- Call https://identitytoolkit.googleapis.com/v1/accounts:sendVerificationCode with the recaptcha token of the first enpoint call.
The body: "phoneNumber": string, "recaptchaToken": string,
 
Then i get this error:
"CAPTCHA_CHECK_FAILED : Recaptcha verification failed - MALFORMED"
 
Are we missing something?
 
Thanks
Solved Solved
1 8 8,804
1 ACCEPTED SOLUTION

Hi ShahzadAhmad,
I have met the same issue above. Msg err `"CAPTCHA_CHECK_FAILED : Recaptcha verification failed - MALFORMED"`.
I fixed it by setup testing phone number in Firebase application and now it worked done!!.

View solution in original post

8 REPLIES 8