GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — createTable - Required parameter is missing · Issue #1422 · googleapis/google-cloud-node Closed Labels api: bigqueryIssues related to the BigQuery API.type: questionRequest for information or clarification. Not an issue. DescriptionI'm creating a table with an existing dataset like this: var bigquery = gcloud.bigquery({ projectId: 'ionic-stats-storage', keyFilename: './bigquery.json' }); var cliDataset = bigquery.dataset('CLI'); cliDataset.createTable(type, { schema: { fields: [ { type: 'string', name: 'type' }, { type: 'string', name: 'service' }, { type: 'string', name: 'uuid' }, { type: 'timestamp', name: 'created_at' }, { name: 'data', fields: fields } ] } }, function(err, table, apiResponse) { ... }); This is the payload being sent to the {
"schema": {
"fields": [
{
"type": "string",
"name": "type"
},
{
"type": "string",
"name": "service"
},
{
"type": "string",
"name": "uuid"
},
{
"type": "timestamp",
"name": "created_at"
},
{
"name": "data",
"fields": [
{
"name": "favorite_flavor",
"type": "string"
}
]
}
]
},
"tableReference": {
"datasetId": "CLI",
"projectId": "ionic-stats-storage"
}
}The API is returning a vague error about a missing required parameter, but doesn't say which one, and I believe I'm using the node API correctly (very possible I'm not). Note: I also tried removing the Activity
MetadataMetadataAssigneesLabelsapi: bigqueryIssues related to the BigQuery API.type: questionRequest for information or clarification. Not an issue. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |