API Discovery Service of BigQuery had worked well, but recently it suddenly returns error.
Google's API Discovery Service has fields parameter. It works well in some api such as discovery (case 3), but doesn't work in bigquery (case 1).
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "kind",
"description": "Error expanding 'fields' parameter. Cannot find matching fields for path 'kind'."
}
]
}
]
}
}
It works well if fields is deleted (case 2).
google-api-javascript-client has same issue.
I think this is bug of google, or is there any mistake?
This was indeed a Google issue and is now fixed.