小编典典

对Fusion Table进行SQL查询时出现403错误

json

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

https://www.googleapis.com/fusiontables/v1/query?sql=SELECT
*来自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

我究竟做错了什么?


阅读 241

收藏
2020-07-27

共1个答案

小编典典

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

File → About this table
       → Edit table information
         → Check the "Allow download" checkbox
2020-07-27