Google chrome extension I';当测试ChromeWebStoreAPI时,我得到了500个错误

Google chrome extension I';当测试ChromeWebStoreAPI时,我得到了500个错误,google-chrome-extension,google-api,Google Chrome Extension,Google Api,我在测试时遇到了500个错误 显示 "oauth2": { "client_id": "clientidobv", "scopes": [ "https://www.googleapis.com/auth/chromewebstore.readonly" ] }, "key": "*****keyobvhere", "permissions": [ "identity", "https://www.googleapis.com/

我在测试时遇到了500个错误

显示

  "oauth2": {
    "client_id": "clientidobv",
    "scopes": [
      "https://www.googleapis.com/auth/chromewebstore.readonly"
    ]
  },
  "key": "*****keyobvhere",
  "permissions": [
    "identity",
    "https://www.googleapis.com/"
使用userflow获取令牌后,我运行:

var req = new XMLHttpRequest();
req.open('GET', 'https://www.googleapis.com/chromewebstore/v1.1/userlicenses/' + chrome.runtime.id);
req.setRequestHeader('Authorization', 'Bearer ' + token);
console.log(req.responseText)
req.send()
我获取
加载资源失败:服务器响应状态为500()

  • Chrome运行时ID与API控制台中的相同
  • 令牌已被检查&有效
  • 我正在本地进行测试,但有一个拥有生产活动许可证的用户

有什么想法吗?

同样的问题,可能必须求助于应用内支付instead@MaximGeerinck你找到解决办法了吗?我面临着同样的问题:(不,目前正在应用程序中集成)payments@MaximGeerinck同一问题:(如果您有解决方案,请与我们分享。谢谢!没有找到解决方案,我们使用了应用内api,而不是此处的同一问题,可能必须求助于应用内支付。)instead@MaximGeerinck你找到解决方案了吗?我面临着同样的问题:(没有,目前正在应用程序中集成。)payments@MaximGeerinck同一问题:(如果您有解决方案,请与我们分享。谢谢!没有找到解决方案,我们使用了应用内api