尝试使用API​​密钥访问BigQuery时出错(简单API访问)

时间:2012-11-11 18:43:14

标签: google-app-engine google-api google-bigquery

    401 Unauthorized

- Show headers -

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "required",
    "message": "Login Required",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Login Required"
 }
}

尝试使用API​​密钥(简单API访问)访问BigQuery时出现上述错误 谁知道它是这样的?

1 个答案:

答案 0 :(得分:3)

您正在尝试构建哪种类型的应用程序?

BigQuery不支持API密钥访问,但它支持各种授权流程,包括使用服务帐户授权。详细了解BigQuery API authorization flow to choose