Get suggested invitees failed due to error code: 3

2019-04-29 18:58发布

I'm trying to run App Invites demo on a kitkat device but it returns

Get suggested invitees failed due to error code: 3

and soon after

Create invitations failed to error code: 3

What kind of error is it? Where i can find an error list?

2条回答
2楼-- · 2019-04-29 19:05

In my experience, this happens when the SHA-1 signature of your app is not compatible with the Android API key specified in the Google Developer Console

If you don't care which app invites you, then you might want to consider removing app/signature restrictions. Otherwise, simply add them.

查看更多
Deceive 欺骗
3楼-- · 2019-04-29 19:13

Log onto Firebase Console: https://console.firebase.google.com

You will need to click on the "Add Fingerprint" button and then add on your SHA1 key. You do not need to redownload your google-services.json, you just need to add the SHA1 key.

Try sending an app invite from your app. It will now work.

enter image description here

查看更多
登录 后发表回答