Unexpected response code 400 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode?

12,442

Solution 1

I found a solution much easier to do.. All you need to do is link your Firebase account to your google Play console, you can do this from firebase console. Project settings->Account linking->Google Play. Hope it works for you.

By doing this it will add/register all your app signing certificates SHA1 to firebase

Solution 2

Can you try to add a new SHA1 code on Firebase? If you try to build the project on other computer or you re-install your OS, you may face this problem. In those cases, you can create a new SHA certificate fingerprint and add it to the settings of your firebase project. I hope it would help you.

Share:
12,442
Saumya Mehta
Author by

Saumya Mehta

Updated on June 05, 2022

Comments

  • Saumya Mehta
    Saumya Mehta about 2 years

    The signed app works fine but as soon as I upload the app to play store, the firebase phone authentication throws Unexpected response code 400 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode? error.

  • avi
    avi almost 5 years
    It is compulsory to make payment to create account on Google Play console for link app google play?
  • Carlos Murray
    Carlos Murray almost 5 years
    yes you will have to pay in order to have a google play account to serve your apps on play store
  • RoyBS
    RoyBS over 4 years
    I found it in Project settings->integrations (tab)->Google Play (card), then click "link". Thanks @CarlosMurray - you saved my day.