The InsertTableResultobject only has one field (rows_written) which is only found in the 200 response:
{
"rows_written": 9000,
"bytes_written": 90
}
Codes 400, 401, 404, and 500 each have the following response schema:
{
"error": "some error message"
}
When an insert error occurs, the client crashes and throws the error: KeyError: 'rows_written' without actually revealing the error returned by the API. This is making it hard to debug and to handle errors.
The
InsertTableResult
object only has one field (rows_written
) which is only found in the 200 response:Codes 400, 401, 404, and 500 each have the following response schema:
When an insert error occurs, the client crashes and throws the error:
KeyError: 'rows_written'
without actually revealing the error returned by the API. This is making it hard to debug and to handle errors.