Google bigquery google API中缺少参数错误
我正在使用OutSystems连接到Google BigQuery API。 我能够查询数据,当我只发送选择查询时,响应成功 当我尝试将查询附加到一个表时,我使用了一个稍微不同的请求主体,我不断地得到以下错误Google bigquery google API中缺少参数错误,google-bigquery,google-apis-explorer,Google Bigquery,Google Apis Explorer,我正在使用OutSystems连接到Google BigQuery API。 我能够查询数据,当我只发送选择查询时,响应成功 当我尝试将查询附加到一个表时,我使用了一个稍微不同的请求主体,我不断地得到以下错误 HTTP/1.1 400 BadRequest Content-Type: application/json; charset=UTF-8 Vary: X-Origin,Origin,Accept-Encoding X-Content-Type-Options: nosniff X-Fr
HTTP/1.1 400 BadRequest
Content-Type: application/json; charset=UTF-8
Vary: X-Origin,Origin,Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Alt-Svc: quic=":443"; ma=2592000; v="44,43,39,35"
Transfer-Encoding: chunked
Accept-Ranges: none
Cache-Control: private, max-age=0
Date: Tue, 28 Aug 2018 10:07:22 GMT
Expires: Tue, 28 Aug 2018 10:07:22 GMT
Server: GSE
{
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Required parameter is missing"
}
],
"code": 400,
"message": "Required parameter is missing"
}
}
我的要求是
{
"configuration" : {
"query" : {
"query" : "SELECT * FROM Dataset.Table1 WHERE 1 = 1",
"createDisposition" : "CREATE_IF_NEEDED",
"destinationTable" : {
"datasetId" : "DatasetId",
"projectId" : "projectId",
"tableId" : "table2Id"
},
"useLegacySql" : false,
"writeDispostion" : "WRITE_APPEND"
}
}
}
我正在使用以下URL发送请求;
{project}/查询
我错过了什么?在Google API文档中找不到它 您使用的是
writeDisposition
而不是writeDisposition
,此外,您还可以在中检查[必需]
属性名称