【问题标题】:"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.""message": "用于调用 Google Play Developer API 的项目 ID 尚未在 Google Play Developer Console 中链接。"
【发布时间】:2017-11-04 16:19:42
【问题描述】:

我正在尝试使用以下 API 下载 Android 应用的评论。 https://developers.google.com/android-publisher/api-ref/reviews

但它需要身份验证。 所以我按照上面链接中的说明进行操作。

我能够获得访问令牌。

但我得到以下响应:

{
 "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."
 }
}

我看到其他一些帖子说您必须将其与 Google Play 开发者控制台相关联。所以我做到了(见下图)。

[]

但我仍然收到此错误。请帮忙。

【问题讨论】:

标签: google-api google-api-client google-play-developer-api google-developers-console google-console-developer


【解决方案1】:

最简单的解决方案是在 Google 开发者控制台上创建一个新的应用内产品。任何应用内产品都可以,只需创建一个新产品。我的直觉是,新产品会在 Google 端触发缓存失效,然后刷新权限。是的,疯狂但有效。

【讨论】:

  • 这确实是在尝试了其他所有方法之后唯一对我有用的方法
  • 即使这一步也不适合我。有人可以提供一些其他故障排除步骤。
  • 你是我的英雄?
【解决方案2】:

错误提示..您的项目 ID 尚未关联。我看到您有两个项目,一个可以取消链接,一个可以链接。你确定你没有把它们换过来吗?另外,您能说明一下您是如何使用令牌的吗?

【讨论】:

猜你喜欢
  • 2021-07-13
  • 2015-04-30
  • 1970-01-01
  • 2015-04-30
  • 2023-01-27
  • 1970-01-01
  • 2023-03-31
  • 2018-09-24
  • 1970-01-01
相关资源
最近更新 更多