xorpas 4 Posted August 14, 2023 (edited) I have an issue with firebase send phone verification code format('https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode?key=%s',[FIREBASE_API_KEY]) 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 August 14, 2023 by xorpas Share this post Link to post
Remy Lebeau 1403 Posted August 14, 2023 (edited) 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: https://cloud.google.com/identity-platform/docs/reference/rest https://cloud.google.com/blog/products/identity-security/getting-started-with-identity-platform https://developers.google.com/identity/toolkit/migrate-identityplatform Edited August 14, 2023 by Remy Lebeau 1 Share this post Link to post
xorpas 4 Posted August 17, 2023 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