Reputation: 1
W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
E/FirebaseAuth: [GetAuthDomainTask] Error getting project config. Failed with
"error": {
"code": 400,
"message": "INVALID_CERT_HASH : Client does not match API key",
"errors": [
{
"message": "INVALID_CERT_HASH : Client does not match API key",
"domain": "global",
"reason": "invalid"
}
]
}
}
400
i have tried to send OTP to user via sms. with firebase API and i get this error in logs. I have checked API key in google services.json file they are all correct. i don't know what to do? Please help.
Upvotes: 0
Views: 877
Reputation: 3730
You are missing the SHA1 , when using Verification OTP you ll have to provide the SHA1 key , so get the SHA1 key ,copy paste in in your firebase console settings
Project Settings -> General -> Scroll down and click add print -> put your SHA1 key
Upvotes: 2