Getting 404 error while authenticating user to signup

  • I am creating user through email and password and adding there data in firestore by creating a document everything was working fine since yesterday but today i was not able to add data in firestore so after resolving that issue everything is working fine but this error is occuring.User is created successfully and even data is added into it but this error is occuring any way to solve it

Error

I don’t think that URL is correct.
Should be something like https://identitytoolkit.googleapis.com/

e.g in docs here
https://identitytoolkit.googleapis.com/v1/accounts:sendOobCode?key=[API_KEY]

Perhaps verify your config is correct and has the right Auth providers associated.
here is link to this part of docs:
fetch-providers-for-email

Of course the function you are calling is documented here:
getOobConfirmationCode
However, this is to allow auth using the users google account, which is a different usecase and implementation to firebase auth, where users signup and provide account details.

Not just a case of (very easily!) wires crossed as to which API you have implemented vs should be using?

@MarketForce
Didn’t got what you are saying…

Your topic title says 404, but your OP says 400. Which is it? They’re completely different errors with completely different causes. 404 is attempting to access something that doesn’t exist, 400 is feeding the backend food it can’t or doesn’t want to eat.

This is the error but user is created and data is saved in firestore this error appears after creating user
POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/getOobConfirmationCode?key=AIzaSyCeQ0wbn2gRLrtH-rQSsOTjEBApSVgR5_E 400

This is the error but user is created and data is saved in firestore this error appears after creating user
POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/getOobConfirmationCode?key=AIzaSyCeQ0wbn2gRLrtH-rQSsOTjEBApSVgR5_E 400