Piyush
Piyush

Reputation: 193

Google App Invite - Message Failed To Send

I am getting the following error while sending app invite:

generic::INVALID_ARGUMENT: com.google.apps.framework.request.BadRequestException: No associated application and/or client ID found for package name

Some info:

Anybody got any idea about it?

Upvotes: 4

Views: 1232

Answers (1)

CmosBattery
CmosBattery

Reputation: 954

Just like the error specifies there's no client ID found for that app.

You need to:

Go to developer console projects
APIs & auth
Credentials
Create new client ID:
  Installed application
  Android
  Enter package name
  Enter SHA1 for RELEASE OR DEBUG (which ever one you want it to work with)
  Make deep linking choice
  Create

I'm not going to explain how to get the SHA1 or anything else as that can be found easily.

There might be more, but as I already have stuff set up and not removing any of it to see if anything else is needed. However, this does solve this error.

Also, the google-services.json file asked to obtain at the developer page for app invites is not necessary to get app invites functioning.

Upvotes: 2

Related Questions