对Fusion Table进行SQL查询时出现403错误 [英] 403 error when making an SQL query for a Fusion Table

查看:152
本文介绍了对Fusion Table进行SQL查询时出现403错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I've been trying to migrate my project to new API, but I get the following error when trying out an SQL query such as the following:

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

The following query does work, though: https://www.googleapis.com/fusiontables/v1/tables/1bTX-w0Lt6nT8jq4R0q2pwFvuN_X5iPDOKHWFhw/columns?key=myKey

我在做什么错了?

推荐答案

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

You also need to make sure the Fusion Table is Exportable.

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

这篇关于对Fusion Table进行SQL查询时出现403错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆