You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
POST http://localhost:57058/bigquery/v2/projects/test-project/jobs?prettyPrint=false
{
"code": 400,
"errors": [
{
"location": "",
"message": "failed to import from gcs: dialing: google: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information",
"reason": "jobInternalError",
"debugInfo": ""
}
],
"message": "failed to import from gcs: dialing: google: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information"
}
But when running normal queries like bigquery.query(conf) works with auth. How to pass the auth? bigquery client is init with NoCredentials()
The text was updated successfully, but these errors were encountered:
I am trying to load a file in bigquery emulator using a load job
bigquery.create(JobInfo.of(loadConfig));
fails with
But when running normal queries like
bigquery.query(conf)
works with auth. How to pass the auth? bigquery client is init with NoCredentials()The text was updated successfully, but these errors were encountered: