Incomplete error object for streaming inserts #70
Labels
api: bigquery
Issues related to the googleapis/nodejs-bigquery API.
type: question
Request for information or clarification. Not an issue.
I'm using nodejs-bigquery version 1.0.
I'm using the following code to stream records into the database:
Unfortunately, whenever my data doesn't match the schema, all I'm getting is this cryptic error object: { errors: [ { message: 'no such field.', reason: 'invalid' } ],
There is no location field that would tell me which field is missing which makes debugging this code a nightmare for more complex schemas.
Is there any way to enable debug level of errors somehow? Or it's just a bug in client implementation? Any idea how I could access this information?
The text was updated successfully, but these errors were encountered: