【问题标题】:Google Cloud Endpoints and javascript client stopped workingGoogle Cloud Endpoints 和 javascript 客户端停止工作
【发布时间】:2014-04-08 10:30:04
【问题描述】:

我们有两个独立的 App Engine 项目,今天这两个项目都停止使用 Google Cloud Endpoints。使用 Api Explorer 可以正常工作。第一次调用发现有效,它返回所有可用的命令。但是使用客户端失败,例如“gapi.client.od.process.custom.list()”返回:

"error": {
    "code": 404,
    "message": "Not Found",
    "data": [
        {
            "domain": "global",
            "reason": "notFound",
            "message": "Not Found"
        }
    ]
},
"id": "gapiRpc"

使用 Google 自己的 API 时也会发生同样的情况:“gapi.client.plus.people.get({"userId": "me"})"

我们使用与Google documents 相同的流程。

昨天一切正常。 Google 是否更改了它的 client.js 中的某些内容?从哪里开始调查此类错误的正确位置?

【问题讨论】:

标签: javascript google-cloud-endpoints


【解决方案1】:

正如this thread 中指出的那样

var request = gapi.client.plus.people.get({"userId":"me"});
request.B.apiVersion = "v1";
request.execute(...)

应该可以解决问题。

【讨论】:

  • 是的,这实际上是我 :) 他们正在回滚图书馆。
【解决方案2】:

目前 Google 正在处理的 JavaScript 客户端存在问题。

URGENT - Google Drive SDK JavaScript 404 Error on any method

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-08-11
    • 2014-05-27
    • 2016-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多