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

本秂侑毒 提交于 2019-12-10 14:58:35

问题


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).

[

]

But I am still getting this error. PLEASE help.


回答1:


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.




回答2:


The error says.. your project id has not been linked. I see you have two projects, one you can unlink and one you can link. Are you sure you are not switching them around? Also, can you please show how youre using the token?



来源:https://stackoverflow.com/questions/44342740/message-the-project-id-used-to-call-the-google-play-developer-api-has-not-be

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!