Closed rnishku closed 6 years ago
Were the variables in the following lines of code changed to match your project, dataset and table?
const projectId = "myProject"; //Enter your project ID here const datasetId = "myDataset"; //Enter your BigQuery dataset name here const tableId = "myTable"; //Enter your BigQuery table name here -- make sure it is setup correctly
Yes I did. Even if I didn't, it shouldn't fail on a json validator
While the line from the code does have issues in JSONlint.com, I just built everything from scratch and everything is working fine on GC.
This is the error I get when trying to check the Cloud function to see if the streaming data is coming in... with // gcloud beta functions logs read function-weatherPubSubToBQ// .. As instructed double check the projectID was changed (to my information) from the index.js portion... still no luck.
`
at Request.emit (events.js:191:7)
at Request.
`
I get this error when I try to validate with JSONlint.com Code seems to fail in GC. Anyone else getting the same issue?
The error
The code below