在为Fusion Table进行SQL查询时出错403

Maa*_*ten 4 json jsonp http-status-code-403 google-fusion-tables

我一直在尝试将项目迁移到新的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"
 }
}
Run Code Online (Sandbox Code Playgroud)

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

我究竟做错了什么?

Lab*_*abu 6

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

File ? About this table
       ? Edit table information
         ? Check the "Allow download" checkbox
Run Code Online (Sandbox Code Playgroud)