Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Schedule setup fails on auth issue. #63

Closed
davidstanke opened this issue Jan 20, 2021 · 1 comment
Closed

Schedule setup fails on auth issue. #63

davidstanke opened this issue Jan 20, 2021 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@davidstanke
Copy link
Collaborator

I'm getting...

python3 schedule.py --query_file=changes.sql --table=changes --access_token=ya29.a0AfH6SMB8FMz2I_ZuM76BZ44PtNIO37BZLyTwr7ZcWQFA-t9geupxv12zDGJRSZHzlRTIdSIY6mPrh-4n7OH8k1U_lA9hSuE7VqpHLJSOWTx-iGWUBhZ2hAbXVb_Oqz9h7mJaWG8TCrEFfAZddXyuLzEgNA2AFiuqWJP3F4e2pICRa-7p7XVKyQ
Traceback (most recent call last):
  File "/home/davidstanke/.local/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/home/davidstanke/.local/lib/python3.6/site-packages/grpc/_channel.py", line 923, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/home/davidstanke/.local/lib/python3.6/site-packages/grpc/_channel.py", line 826, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.FAILED_PRECONDITION
        details = "BigQuery Data Transfer service account is not found, this could be fixed by re-enabling BigQuery Data Transfer service API for project fourkeys-007886. Please ask the project owner to re-enable the API at https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com."
        debug_error_string = "{"created":"@1611155717.256131935","description":"Error received from peer ipv4:172.217.8.10:443","file":"src/core/lib/surface/call.cc","file_line":1063,"grpc_message":"BigQuery Data Transfer service account is not found, this could be fixed by re-enabling BigQuery Data Transfer service API for project fourkeys-007886. Please ask the project owner to re-enable the API at https://console.cloud.google.com/apis/library/bigquerydatatransfer.googleapis.com.","grpc_status":9}"

Per the docs, the setup script should have prompted me to configure BigQuery interactively, but that didn't seem to happen(?).

I'm investigating.

@davidstanke davidstanke self-assigned this Jan 20, 2021
@davidstanke davidstanke changed the title Data generator fails b/c BigQuery not enabled Schedule setup fails on auth issue. Jan 20, 2021
@dinagraves dinagraves added the duplicate This issue or pull request already exists label Jan 20, 2021
@dinagraves
Copy link
Contributor

Duplicate of #47

@dinagraves dinagraves marked this as a duplicate of #47 Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants