playgameservices / management-tools

Tools for app developers to mange their Play Game services apps.
143 stars 73 forks source link

There is no linked app associated with this client ID even though app was set up and working long ago #14

Closed AldrinClemente closed 9 years ago

AldrinClemente commented 9 years ago

Hi!

I have replaced the app ID (9xxxxxxxxxxx) and client ID (9xxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com) properly but I'm still getting an error. I can log in but I'm greeted with the error "There is no linked app associated with this client ID" even though Game Services have been integrated and working long ago. I can see some requests failing with 401. See screenshot below: play games management console error

Response body:

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "UnregisteredClientId",
    "message": "There is no linked app associated with this client ID."
   }
  ],
  "code": 401,
  "message": "There is no linked app associated with this client ID."
 }
}

Any ideas?

jimmithy commented 9 years ago

Hey, ran into this problem today and figured out how to fix it.

Go to the Google Play Console, and then Game Services. Under your application, select Linked Apps, and then Link New App.

Select Web, and if you created a new client Id in the API console, it will alert you to link a pre-existing app. Fill out all the info and you should be good to go!

4k-developer commented 9 years ago

Ok thx

AldrinClemente commented 9 years ago

@jimmithy Late reply but thanks! Turns out the app was not linked properly and the client ID was defined in the Google API Console instead of through the Google Play Console ~.~