Posts

Showing posts with the label google-bigquery

bq load: “BigQuery error in load operation: Not found: Project …”

bq load: “BigQuery error in load operation: Not found: Project …” I'm trying to load some ndjson data. First, creating a table works flawlessly: > bq mk --table <project-id>:<my-dataset.newtable> newtable.schema.json Table '<project-id>:<my-database.newtable>' successfully created. However, the bq load command does not: bq load > bq load --source_format=NEWLINE_DELIMITED_JSON <project-id>:<my-dataset.newtable> gs://<project-id>.appspot.com/newtable.ndjson BigQuery error in load operation: Not found: Project <project-friendly-name> Please also note also: I have no problem running the job from BigQuery's web interface. I have set <project-id> as the default project through the bq init command, but I get the same error, even when creating a table, when I don't specify it. <project-id> bq init Is there an issue with some environment variables that have not been set correctly ? ...