AndroidPublisher API 返回 projectNotLinked 错误

AndroidPublisher API return projectNotLinked error(AndroidPublisher API 返回 projectNotLinked 错误)

本文介绍了AndroidPublisher API 返回 projectNotLinked 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Google Developers Console中使用Google Play Android Developer API测试购买产品的状态时出现这种情况,结果总是这样

This happens when I was using Google Play Android Developer API in Google Developers Console to test the status of purchased product, and the result is always like this

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

已经使用另一个开发者帐户(和包名称)检查了这一点,它工作得很好.我确实已将 API 项目从 Google Developers Console 链接到 Google Play Developer Console -> API Access 设置,并尝试重新创建尽可能多的项目,但没有一个项目起作用.

Have checked this out using another Developer account (and package name) and it works just fine. I sure have linked the API project from Google Developers Console to Google Play Developer Console -> API Access settings, and try to recreate as many as possible but none of the projects worked.

那么我在这里错过了什么?除了我在 Google Play 控制台设置中创建的链接项目之外,未链接"是什么意思.

So what am I missing here? What does it mean "not linked" besides the linked project I made in the settings of Google Play console.

推荐答案

如果其他人有同样的问题,请尝试在您的 Google Play 控制台帐户中添加新产品/订阅.这对我有用,虽然似乎是 Google 服务中的某种不一致问题.

In case anybody else has the same issue, try adding a new product/subscription in your Google Play console account. That worked for me, although seems to be some kind of inconsistency problem in Google services.

这篇关于AndroidPublisher API 返回 projectNotLinked 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:AndroidPublisher API 返回 projectNotLinked 错误

基础教程推荐