【问题标题】:403 error when making an SQL query for a Fusion Table对 Fusion Table 进行 SQL 查询时出现 403 错误
【发布时间】:2012-07-01 15:55:26
【问题描述】:

我一直在尝试将我的项目迁移到新的 API,但在尝试如下 SQL 查询时出现以下错误:

https://www.googleapis.com/fusiontables/v1/query?sql=SELECT * FROM 1KxVV0wQXhxhMScSDuqr-0Ebf0YEt4m4xzVplKd4&key=myKey

这是返回的内容:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured"
   }
  ],
  "code": 403,
  "message": "Access Not Configured"
 }
}

以下查询确实有效: https://www.googleapis.com/fusiontables/v1/tables/1bTX-w0Lt6nT8jq4R0q2pwFvuN_X5iPDOKHWFhw/columns?key=myKey

我做错了什么?

【问题讨论】:

  • 对我来说,当我输入我的 API 密钥时,这两个查询都有效。你已经解决了这个问题吗?

标签: json jsonp google-fusion-tables http-status-code-403


【解决方案1】:

您还需要确保 Fusion Table 是可导出的。

File → About this table
       → Edit table information
         → Check the "Allow download" checkbox

【讨论】:

    【解决方案2】:

    我在 API 控制台中启动了一个新项目,并使用新的 API 密钥修复了它,奇怪的是。

    【讨论】:

      猜你喜欢
      • 2016-11-11
      • 1970-01-01
      • 2019-01-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多