BigQuery: Invalid projectID while loading data with POST request #2235
Labels
api: bigquery
Issues related to the BigQuery API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
running on app engine
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I'm working with App Engine standard project (Maven based) and I implemented this code https://cloud.google.com/bigquery/loading-data-post-request#bigquery-import-file-java in order to load data to a BigQuery table directly from in-memory data w/o providing a file from Cloud Storage
I'm attaching you a sample project which shows the error
bq.zip
I'm running on localhost dev-server launched with Cloud Tools 4 Eclipse
Even if I configured the destination project
TableId tableId = TableId.of(PROJECT_ID, DATASET_ID, TABLE_ID);
This value seems to be ignored and a
no_app_id
error is thrownThe only way I found to make it working is defining the
<application>
node in theappengine-web.xml
file, which it is no longer used since gcloud based deploy (also, it suggest to remove it if found).I'm running on Eclipse Mars with Java8 and GCloud 158, but I found the same problem using Java7
The text was updated successfully, but these errors were encountered: