Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."

I am trying to use the following API to download reviews for Android Apps. https://developers.google.com/android-publisher/api-ref/reviews

But it requires authentication. So I followed the instructions that were linked in the link above.

I was able to get an access token.

But I get the following response:

{
 "error": {
  "errors": [
   {
    "domain": "androidpublisher",
    "reason": "projectNotLinked",
    "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
   }
  ],
  "code": 403,
  "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
 }
}

I saw some other posts saying that you have to link it with the Google Play Developer Console. So I did that (see image below).

[Google Play Console, Linked Project]

But I am still getting this error. PLEASE help.

like image 812
Aklas Cheema Avatar asked Jun 03 '17 10:06

Aklas Cheema


1 Answers

The simplest solution is to just create a new in app product on the Google Developer console. Any in app product would do, just create a new one. My gut feeling is that the new product triggers a cache invalidation on Google side which then refreshes the permissions. Yes, crazy but effective.

like image 118
Gianluca Ghettini Avatar answered Sep 19 '22 19:09

Gianluca Ghettini