小编Mar*_*ark的帖子

在Google API v2中,为什么会出现错误"用于调用Google Play Developer API的项目ID尚未链接"?

当我使用Google API v2时,为了获得一个inapp列表,我在进行API调用时遇到以下错误:

{
 "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."
 }
}
Run Code Online (Sandbox Code Playgroud)

然后我研究了这个错误,最后看到了这个页面,这个页面以及这个页面上的建议.我跟着并仔细检查了项目在那里的链接方式,但没有帮助.

这就是我做的......

在Google Developer Console中:

  1. 使用现有项目.
  2. 去了API&auth> API.
  3. 确保"Google …

php google-api google-play google-api-php-client

7
推荐指数
1
解决办法
7404
查看次数