【发布时间】:2013-12-15 02:41:29
【问题描述】:
我编写了一个带有 angularjs 前端的 webapp,用于存储数据的谷歌应用引擎,以及用于从前端客户端访问 api 的谷歌云端点。我在本地测试了一切都很好,但是在部署之后,从前端 javascript 客户端访问 api 会出现以下错误:
[
{
"error": {
"code": 403,
"message": "Access Not Configured",
"data": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
]
},
"id": "gapiRpc"
}
]
我在部署后检查了生产 api explorer,它工作正常。另外,我尝试通过 URL 直接访问 api,它也可以正常工作。只是前端客户端不起作用。有什么想法吗?
【问题讨论】:
标签: angularjs google-api google-cloud-endpoints