Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

TypeError: Cannot read properties of undefined (reading 'insertErrors') thrown when processing errors #1272

@nathantalewis

Description

@nathantalewis
  1. Is this a client library issue or a product issue?
    A client library issue.

  2. Did someone already solve this?
    No.

  3. Do you have a support contract?
    No.

Environment details

  • OS: Ubuntu
  • Node.js version: 18.17.1
  • npm version: 9.6.7
  • @google-cloud/bigquery version: 7.2.0

Steps to reproduce

  1. Use createInputStream to create an input stream.
  2. Send rows through the stream until an TypeError: Cannot read properties of undefined (reading 'insertErrors') occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/nodejs-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions