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.

Loading via write streams into Tables from Datasets with manually-specified project IDs returns invalid job #1345

@1kilobit

Description

@1kilobit

Environment details

  • OS: Ubuntu 22.04.2 LTS
  • Node.js version: 20.2.0
  • npm version: 9.6.6
  • @google-cloud/bigquery version: 7.5.1

Steps to reproduce

  1. Create a load job from a file path on a Table from a Dataset with a manually-specified project ID
    await bq
      .dataset("datasetname", {projectId: "projectid"})
      .table("tablename")
      .load("filepath")
  2. Get error ApiError: Not Found: Job defaultprojectid:location.jobid despite load job actually getting created successfully in the actual project

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